protected void Page_Load(object sender, EventArgs e) { RadAjaxManager ram = (RadAjaxManager)this.Master.FindControl("RadAjaxManager1"); RadAjaxLoadingPanel alp = (RadAjaxLoadingPanel)this.Master.FindControl("AjaxLoadingPanel1"); ram.AjaxSettings.AddAjaxSetting(rgTags, rgTags); if (!IsPostBack) { LoadTags(true); } }
protected void Page_Load(object sender, EventArgs e) { RadAjaxManager ram = (RadAjaxManager)this.Master.FindControl("RadAjaxManager1"); RadAjaxLoadingPanel alp = (RadAjaxLoadingPanel)this.Master.FindControl("AjaxLoadingPanel1"); ram.AjaxSettings.AddAjaxSetting(rgTags, rgTags, alp); ram.AjaxSettings.AddAjaxSetting(btnSave, rgTags, alp); ram.AjaxSettings.AddAjaxSetting(btnSave, lblMessage); if (!IsPostBack) { SetTitle(); LoadSubscribers(true, IsAdd); lblMessage.Visible = false; } }
protected void Page_Load(object sender, EventArgs e) { RadAjaxManager ram = (RadAjaxManager)this.Master.FindControl("RadAjaxManager1"); RadAjaxLoadingPanel alp = (RadAjaxLoadingPanel)this.Master.FindControl("AjaxLoadingPanel1"); ram.AjaxSettings.AddAjaxSetting(rgSubscribers, rgSubscribers, alp); ram.AjaxSettings.AddAjaxSetting(btnSave, rgSubscribers, alp); if (!IsPostBack) { if (CurrentTagID > 0) { SetTitle(); LoadSubscribers(true, IsAdd); } } }
protected void Page_Load(object sender, EventArgs e) { RadAjaxManager ram = (RadAjaxManager)this.Master.FindControl("RadAjaxManager1"); RadAjaxLoadingPanel alp = (RadAjaxLoadingPanel)this.Master.FindControl("AjaxLoadingPanel1"); ram.AjaxSettings.AddAjaxSetting(btnSave, divContent, alp); ram.AjaxSettings.AddAjaxSetting(btnSaveAs, divContent, alp); if (!IsPostBack) { SetImagesPath(reCampaignContent); LoadTemplate(); if (CampaignHelper.SelectedTemplateID < 1) { btnCreateCampaign.Enabled = false; btnSaveAs.Enabled = false; } } }
private void LoadAjaxPanel() { var loadingPanel = new RadAjaxLoadingPanel { ID = _control.ID + "_Prog", Skin = "Default" }; Controls.Add(loadingPanel); var ajaxPanel = new RadAjaxPanel { ID = _control.ID + "_UP", LoadingPanelID = loadingPanel.ID, RestoreOriginalRenderDelegate = false }; InjectMessageControl(ajaxPanel); ajaxPanel.Controls.Add(_control); Controls.Add(ajaxPanel); }
private void LoadAjaxPanel() { // Reference dnn.js to add attachEvent/detachEvent functions in IE11 to fix Telerik (see DNN-6167) JavaScript.RegisterClientReference(Page, ClientAPI.ClientNamespaceReferences.dnn); var loadingPanel = new RadAjaxLoadingPanel { ID = _control.ID + "_Prog", Skin = "Default" }; Controls.Add(loadingPanel); var ajaxPanel = new RadAjaxPanel { ID = _control.ID + "_UP", LoadingPanelID = loadingPanel.ID, RestoreOriginalRenderDelegate = false }; InjectMessageControl(ajaxPanel); ajaxPanel.Controls.Add(_control); Controls.Add(ajaxPanel); }
private void LoadAjaxPanel() { var loadingPanel = new RadAjaxLoadingPanel { ID = _control.ID + "_Prog", Skin = "Default" }; Controls.Add(loadingPanel); var ajaxPanel = new RadAjaxPanel { ID = _control.ID + "_UP", LoadingPanelID = loadingPanel.ID, RestoreOriginalRenderDelegate = false }; InjectMessageControl(ajaxPanel); ajaxPanel.Controls.Add(_control); Controls.Add(ajaxPanel); }