protected void RadMultiPageAuftragseingang_PageViewCreated(object sender, RadMultiPageEventArgs e) { Control pageViewContents = LoadControl(e.PageView.ID + ".ascx"); pageViewContents.ID = e.PageView.ID + "userControl"; e.PageView.Controls.Add(pageViewContents); }
protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e) { string userControlName = e.PageView.ID + ".ascx"; Control userControl = Page.LoadControl(userControlName); userControl.ID = e.PageView.ID + "_userControl"; e.PageView.Controls.Add(userControl); }
protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e) { string userControlName = "Newsfeed/" + e.PageView.ID + ".ascx"; Control userControl = Page.LoadControl(userControlName); userControl.ID = e.PageView.ID + "_userControl"; e.PageView.Controls.Add(userControl); }
/// <summary> /// Handles the OnPageViewCreated event of the rmpWizard control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Telerik.Web.UI.RadMultiPageEventArgs"/> instance containing the event data.</param> protected void rmpWizard_OnPageViewCreated(object sender, RadMultiPageEventArgs e) { var pageViewContents = (BaseWizardStep)LoadControl("~/UserControls/Wizards/LeadForceWizard/" + e.PageView.ID + ".ascx"); pageViewContents.BindData(); pageViewContents.ID = e.PageView.ID + "UserControl"; e.PageView.Controls.Add(pageViewContents); }
protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e) { string userControlName = "Menu/settings/" + e.PageView.ID + ".ascx"; Control userControl = Page.LoadControl(userControlName); userControl.ID = e.PageView.ID + "thisshouldlmakedifference"; e.PageView.Controls.Add(userControl); }
/// <summary> /// Handles the OnPageViewCreated event of the rmpWizard control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Telerik.Web.UI.RadMultiPageEventArgs"/> instance containing the event data.</param> protected void rmpWizard_OnPageViewCreated(object sender, RadMultiPageEventArgs e) { var pageViewContents = (BaseWizardStep)LoadControl("~/UserControls/Wizards/WorkflowTemplateWizard/" + e.PageView.ID + ".ascx"); pageViewContents.IsEditMode = IsEditMode; pageViewContents.EditObjectId = EditFormId; pageViewContents.BindData(); pageViewContents.ID = e.PageView.ID + "UserControl"; e.PageView.Controls.Add(pageViewContents); }
protected void RadMultiPage2_PageViewCreated(object sender, RadMultiPageEventArgs e) { string userControlName = "Sidebar/gamesu/Files/" + e.PageView.ID + ".ascx"; Control userControl = Page.LoadControl(userControlName); userControl.ID = e.PageView.ID + "_userControl"; e.PageView.Controls.Add(userControl); }