Changing the background
-
im woking with web forms....I would like to change the backround of web form at run time....how can I achieve that?...
Hi,Im Razana
-
im woking with web forms....I would like to change the backround of web form at run time....how can I achieve that?...
Hi,Im Razana
Hi, I'm Malcolm I thought this was gonig to be easy to answer...but unless somebody wants to make me look stupid, it isn't that straight forward. Try this... Change your <body> tag
<body id="bodytag" bgColor= "#000099" runat="server">
and then in the event handler that is called to change the colour (or on PageLoad) call :
bodytag.Attributes.Add("bgcolor", "#EE33AA");
obviously setting which ever colour you want. Is there a better / different way anybody? I never change the background color!
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
-
im woking with web forms....I would like to change the backround of web form at run time....how can I achieve that?...
Hi,Im Razana
Style?
Vasudevan Deepak Kumar Personal Homepage Tech Gossips