1.How do you change the default.aspx or defualt.html page during runtime. I am trying to give users the ability to change background.
2.How do you change the default.aspx or defualt.html page during runtime from clicking a silverlight button. I am trying to give users the ability to change background.
Can someone point me to a quick tuturial.
APS.net background change during runtime
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 26, 2011, 5:38 AM EDT
since the body tag is not visible by default to the server code, you can try and add runat="server" and some ID to the body tag like this:
than from the code behind you can try this:
PageBody.Attributes.Add("bgcolor", "yellow"); // to add color as per your need.
Please do not forget to mark "Accepted Answer".
David SmithRank #999 · 2K reputationPosted Oct 26, 2011, 2:31 PM EDT
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 26, 2011, 4:26 PM EDT
Look at the following C# Corner article:
http://www.c-sharpcorner.com/UploadFile/munnamax/ThemesSkins04162007044458AM/ThemesSkins.aspx