View Single Post
  #1 (permalink)  
Old April 5th, 2012, 07:17 PM
Slay01 Slay01 is offline
Registered User
Points: 48, Level: 1
Points: 48, Level: 1 Points: 48, Level: 1 Points: 48, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Question Switch at runtime between Child master.pages

Hi

I began reading this amazing book and I'm vary pleased with it.

I just need help with something...

I have created a Parent master.page and 2 Child master.pages that inherit from the Parent.

Each Child master.page is used to load a completely different StyleTheme to my website.

Inside my Parent master.page I have inserted a DropDownList control with the names of the 2 themes.

Now what I want to know is what code in C# can help me switch at runtime between the 2 child master.pages whenever a user clicks on the dropdownlist.

Thanks in advance