public void AddData(PageDefinition page) { if (page != null) { SelectedPane_List = page.GetPanes(); } }
public void AddData(PageDefinition page) { if (page != null) { ExistingModulePane_List = page.GetPanes(); } }
public void AddData(PageDefinition page, PageControlModule mod) { UploadFile = new FileUpload1 { SelectButtonText = this.__ResStr("btnImport", "Import Module Data..."), SaveURL = Utility.UrlFor(typeof(PageControlModuleController), nameof(PageControlModuleController.ImportModule), new { __ModuleGuid = mod.ModuleGuid }), RemoveURL = Utility.UrlFor(typeof(PageControlModuleController), nameof(PageControlModuleController.RemoveModule), new { __ModuleGuid = mod.ModuleGuid }), SerializeForm = true, }; if (page != null) { ModulePane_List = page.GetPanes(); } }
public void UpdateData(PageDefinition page) { Page.Panes = page.GetPanes(); }