Wrox Programmer Forums
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 22nd, 2005, 09:35 AM
Authorized User
Join Date: Feb 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to change all control color

i want to change properties of any controls which is in form by programming.run time it detect controls and customize property according to that control.

Old February 23rd, 2005, 12:47 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi

You will have object for the controls you have used in the code-behind file.(eg) protected System.Web.UI.WebControls.TextBox TextBox1;
You can change the property of the control using this object.
(eg)TextBox1.Text = "Hi";

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change foreground color of disabled control Hubman Pro VB.NET 2002/2003 20 December 27th, 2014 07:14 PM
change color of background meena88 C# 2005 3 December 1st, 2009 04:48 AM
re: color change jack_in_black ASP.NET 2.0 Professional 0 July 11th, 2006 07:24 AM
change background color of toolbar control myth12345 VB How-To 1 January 6th, 2005 12:25 AM
Color change possability? rolandatem VB How-To 2 November 19th, 2004 03:52 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.