I put a drop down box on my master page with hardocoded theme values, and called it lstThemeChooser.
I want to be able to set the page theme using it. I read that I should put this in each of my pages:
protected void Page_PreInit(object sender, EventArgs e)
{
Page.Theme = Request["lstThemeChooser"];
}
However the Request is null, so no theme is set.
The drop down box is set to autopostback=True.
Any ideas what I am doing wrong, or if this is somehow completely impossible?
(asp.net)