Themes and skin
How to create themes like orkut in asp.net using c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
CrishRank #1,487 · 1.1K reputationPosted May 26, 2010, 5:45 AM EDT
you need to make multiple theme files. Once create then give user to option for selection of this skin file.
Programmatic Access to Themes
protected void Page_PreInit(object sender, System.EventArgs e){
Page.Theme = Request.QueryString["Theme1"];
}
=============================
string theme = ""; // setting the value to none if (Page.Request.Form.Count > 0) { // "Themes" is the ID of dropdownlist theme = Page.Request["Themes"].ToString(); if (theme == "Default") { theme = ""; } } this.Theme = theme; // applying themes to the overall pagefor more details about asp.net theme and stylesheet go through below link
http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx
Don't forget to Mark Do you like this Answer that solved your problem!
Dipa AhujaRank #1,168 · 1.5K reputationPosted May 26, 2010, 9:48 PM EDT