Hi,
Page_PreInit
get called only once in page lyfecycle. You cannot use that for
IsPostBack
. Instead of that try this and put the conditions:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Page.Theme = DropDown1.SelectedValue;
}
else
{
Page.Theme =
}
}
--Amit