protected override void OnInit(EventArgs e) { base.OnInit (e); this.Page.PreLoad += OnPagePreLoad; if (!IsViewStateEnabled && Page != null && Page.IsPostBack) { this.RequiresDataBinding = true; } }