Work is done individually so I do not really get a chance to see how others do things except from my other two projects before which was turned over to me. In those projects, I got to see and understand the approach used by the previous developers.
The ASP.NET folder for App_Code is common to all the projects that I handled so I tried reading some articles about it this morning. I realized that even though I already have more than a year of experience, I am still too far from becoming a strong programmer since there are still a lot for me to know. I did not even know that there are still other ASP.NET folders besides the App_Code.
Maybe you are getting bored with my story so I'll proceed with my question. I wanted to focus on learning to use the App_Themes so I decided to try it today.
I created two themes: Blue and Green.
I created a MasterPage with a banner, content area and footer.
In the banner, there is a dropdownlist for Theme Selection and there is also a button to apply the theme selected
I placed the
Page.Theme = ddl.SelectedItem.Value;
in the MasterPage's Page_PreInit but it was never triggered... Not on first load of page and not even on the postback.
Any idea why it isn't triggered? Should I change the theme per page or can I do it in a MasterPage?
This post has been edited by November-06: 12 November 2012 - 01:26 AM