protected override void OnInit(EventArgs e)
{
// we use this so that we can set the enableViewState property in the web.config
// although it sets it at the page level, it doesn’t pass it on to the master page
this.EnableViewState = this.Page.EnableViewState;
base.OnInit(e);
}
Categories