protected override void OnInit(EventArgs e) { base.OnInit(e); if (!this.DesignMode) { this.Page.PreRender += Page_PreRender; } }