private void Page_Controls() { // Check _pageindexid string _pageindexid = Request["PageIndexID"]; if (DataEval.IsEmptyQuery(_pageindexid)) { // URLrewrite Response.Redirect("Pages.aspx"); return; } btn_Cancel.CommandArgument = _pageindexid; btn_Publish.CommandArgument = _pageindexid; iframe_PageEditor_Design.Attributes["src"] = string.Format("Pages/Design.aspx?PageIndexID={0}&PageLink=Disable", _pageindexid); // Load Pages Template Page_PropertyMgr myPropertyMgr = new Page_PropertyMgr(); myPage_Loading_Info = myPropertyMgr.Get_Page_Lock_Loading_Info(_pageindexid); // Page Template DataFill_Template(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Page_Controls(); } else { // Check _pageindexid string _pageindexid = Request["PageIndexID"]; // Load Pages Template Page_PropertyMgr myPropertyMgr = new Page_PropertyMgr(); myPage_Loading_Info = myPropertyMgr.Get_Page_Lock_Loading_Info(_pageindexid); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Page_Controls(); // Software Version lbl_Version.Text = string.Format("ver. {0}", Nexus.Core.Phrases.PhraseMgr.Get_Phrase_Value("NexusCore_Version")); } else { // Check _pageindexid string _pageindexid = Request["PageIndexID"]; // Load Pages Template Page_PropertyMgr myPropertyMgr = new Page_PropertyMgr(); myPage_Loading_Info = myPropertyMgr.Get_Page_Lock_Loading_Info(_pageindexid); } }