protected void Page_Load(object sender, EventArgs e) { EnsureChildControls(); CMSPage page = Page as CMSPage; if (page != null) { page.EnsureScriptManager(); } if (!RequestHelper.IsPostBack()) { SetupForm(TaskInterval); } }
protected override void OnLoad(EventArgs e) { if (!Visible) { return; } CMSPage page = Page as CMSPage; if (page != null) { page.EnsureScriptManager(); } CheckService(); InitializeToolbar(); }