Click to See Complete Forum and Search --> : background color of a asp.net page


meenakshi_joshi09
March 29th, 2006, 02:01 AM
Hello eyeryone,

I am working on a web application. How can I change the background colour of a webform at runtime?

Thanks in advance!

jayender.vs
March 29th, 2006, 02:15 AM
Hello eyeryone,
I am working on a web application. How can I change the background colour of a webform at runtime?
Thanks in advance!
You need to use the HtmlGenericControl. Check this: HtmlGenericControl (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconhtmlgenericcontrol.asp)
and
How to set the background color of a web page using code behind? (http://www.syncfusion.com/FAQ/aspnet/WEB_c15c.aspx#q86q)