private void Control_Init() { Panel_Updated.Visible = false; // Home Switch rbtn_HomeSwitch.SelectedValue = Phrases.PhraseMgr.Get_Phrase_Value("NexusCore_HomeSwitch"); // Website Properties Page_PropertyMgr myPage_PropertyMgr = new Page_PropertyMgr(); Page_Attribute myPage_Attribute = myPage_PropertyMgr.Get_Page_Attribute(_pageindexid); tbx_Page_Title.Text = myPage_Attribute.Page_Title; tbx_Page_Keyword.Text = myPage_Attribute.Page_Keyword; tbx_Page_Description.Text = myPage_Attribute.Page_Description; Page_Template myPage_Template = myPage_PropertyMgr.Get_Page_Template(_pageindexid); // Look for Template droplist_Template.SelectedValue = myPage_Template.MasterPageIndexID; droplist_Template.DataBind(); FormView_Template.PageIndex = droplist_Template.SelectedIndex; FormView_Template.DataBind(); #region Security // Load Usergroup list List <Security.Users.UserGroups> myUserGroups = Security.Users.UserMgr.sGet_Usergroups(); droplist_UserGroup.DataSource = myUserGroups; droplist_UserGroup.DataTextField = "UserGroup_Name"; droplist_UserGroup.DataValueField = "UserGroupID"; droplist_UserGroup.DataBind(); droplist_UserGroup.SelectedValue = StringEnum.GetStringValue(Security.Users.UserGroup.RegisteredUser); // Set Add User Role Error Message to null lbl_AddRolesError.Text = ""; Panel_Privacy.Visible = false; Page_Property myPage_Property = myPage_PropertyMgr.Get_Page_Property(_pageindexid); rbtn_IsSSL.SelectedValue = DataEval.Convert_BoolToString(myPage_Property.IsSSL); Security.Pages.PrivacyMgr myPrivacyMgr = new Security.Pages.PrivacyMgr(); Security.Pages.Page_PrivacyURL myPage_PrivacyURL = myPrivacyMgr.Get_Page_PrivacyURL(_pageindexid); tbx_ReturnURL.Text = myPage_PrivacyURL.ReturnURL; // Bind Permission Grid GridView_Permissions.DataSource = myPrivacyMgr.Get_Page_Privacy_FullList(_pageindexid); GridView_Permissions.DataBind(); Panel_Page_Permissions.Enabled = true; #endregion #region MetaTags tbx_ScriptURL.Text = ""; tbx_UpdateScriptURL.Text = ""; Panel_Update_Script.Visible = false; tbx_CSSURL.Text = ""; tbx_UpdateCSSURL.Text = ""; Panel_Update_CSS.Visible = false; // Script PageMgr myPageMgr = new PageMgr(); GridView_Scripts.DataSource = myPageMgr.Get_Page_MetaTags(_pageindexid, Meta_Type.JavaScript); GridView_Scripts.DataBind(); // CSS GridView_CSS.DataSource = myPageMgr.Get_Page_MetaTags(_pageindexid, Meta_Type.StyleSheet); GridView_CSS.DataBind(); #endregion }