protected virtual void Page_Load(object sender, EventArgs e) { if (!this.mIsPageLoaded) { this.mIsPageLoaded = true; } else { return; } this.Master.Raise_Page_Load(); if (!this.IsPostBack) { this.SetupPage(); } else { this.mObj_Base = (Base)this.Session[CnsBase + this.pObjID]; this.mProperties = (ClsBaseDetails_Master_Properties)this.Session[this.pObjID + CnsProperties]; } }
public void Setup(Layer02_Constants.eSystem_Modules System_ModulesID, Base Obj_Base, string NoAccessMessage = "") { this.Master.Setup(false, true, System_ModulesID); this.mObj_Base = Obj_Base; this.mProperties = new ClsBaseDetails_Master_Properties(); this.mProperties.NoAccessMessage = NoAccessMessage == "" ? "Access Denied." : NoAccessMessage; DataTable Dt = Do_Methods_Query.GetQuery("System_Modules", "", "System_ModulesID = " + (long)System_ModulesID); if (Dt.Rows.Count > 0) { this.mProperties.ListPage = Do_Methods.Convert_String(Dt.Rows[0]["Module_List"]); } }