protected override void Page_Init(object sender, EventArgs e)
        {
            base.Page_Init(sender, e);

            ClsBindDefinition BindDef = new ClsBindDefinition();
            BindDef.List_Gc = new List<ClsBindGridColumn>();
            BindDef.List_Gc.Add(new ClsBindGridColumn_Web_Telerik("RecruitmentTestQuestionsID", "Question ID", 120));
            BindDef.List_Gc.Add(new ClsBindGridColumn_Web_Telerik("Question_Stripped", "Question Description", 400));
            BindDef.List_Gc.Add(new ClsBindGridColumn_Web_Telerik("Category_Desc", "Category", 200));
            BindDef.List_Gc.Add(new ClsBindGridColumn_Web_Telerik("QuestionType_Desc", "Question Type", 200));
            BindDef.List_Gc.Add(new ClsBindGridColumn_Web_Telerik("Status_Desc", "Status", 120));
            BindDef.List_Gc.Add(new ClsBindGridColumn_Web_Telerik("UserName_CreatedBy", "Created By", 120));
            BindDef.List_Gc.Add(new ClsBindGridColumn_Web_Telerik("UserName_ApprovedBy", "Approved By", 120));
            BindDef.KeyName = "RecruitmentTestQuestionsID";
            BindDef.AllowPaging = true;
            BindDef.AllowSort = true;
            BindDef.IsPersistent = true;

            this.Setup(
                Layer02_Objects._System.Layer02_Constants.eSystem_Modules.Question
                , new ClsQuestion(this.pCurrentUser)
                , BindDef
                , true
                , true);
        }
        void Setup(
            Layer02_Constants.eSystem_Modules System_ModulesID
            , ClsBindDefinition BindDefinition
            , eDataSourceType DataSourceType
            , bool IsSelectDetails = true
            , bool IsDelete = true)
        {
            this.Master.Setup(false, true, System_ModulesID);
            this.mProperties = new ClsBaseList_Master_Properties();
            this.mProperties.BindDefinition = BindDefinition;
            this.mProperties.DataSourceType = DataSourceType;
            this.mProperties.IsSelectDetails = IsSelectDetails;
            this.mProperties.IsDelete = IsDelete;

            string DetailsPage = "";
            QueryCondition Qc = Do_Methods.CreateQueryCondition();
            Qc.Add("System_ModulesID", ((long)this.pSystem_ModulesID).ToString(), typeof(Int64).Name);

            DataTable Dt = Do_Methods_Query.GetQuery("System_Modules", "", Qc);
            if (Dt.Rows.Count > 0)
            { DetailsPage = @"~/Page/" + Do_Methods.Convert_String(Dt.Rows[0]["Module_Details"]); }

            this.mProperties.DetailsPage = DetailsPage;

            this.ViewState[CnsProperties] = this.mProperties;
        }
 public void Setup(
     Layer02_Constants.eSystem_Modules System_ModulesID
     , DataTable Dt_DataSource
     , ClsBindDefinition BindDefinition
     , bool IsSelectDetails = true
     , bool IsDelete = true)
 {
     this.Setup(System_ModulesID, BindDefinition, eDataSourceType.FromDataTable, IsSelectDetails, IsDelete);
     this.mDt_Datasource = Dt_DataSource;
 }
 public void Setup(
     Layer02_Constants.eSystem_Modules System_ModulesID
     , Base Obj_Base
     , ClsBindDefinition BindDefinition
     , bool IsSelectDetails = true
     , bool IsDelete = true
     )
 {
     this.Setup(System_ModulesID, BindDefinition, eDataSourceType.FromBase, IsSelectDetails, IsDelete);
     this.mObj_Base = Obj_Base;
 }
 public void Setup(
     Layer02_Constants.eSystem_Modules System_ModulesID
     , DataTable Dt_DataSource
     , ClsBindDefinition BindDefinition
     , bool IsSelectDetails = true
     , bool IsDelete = true)
 {
     this.Master.Setup(System_ModulesID, Dt_DataSource, BindDefinition, IsSelectDetails, IsDelete);
 }
 public void Setup(
     Layer02_Constants.eSystem_Modules System_ModulesID
     , Base Obj_Base
     , ClsBindDefinition BindDefinition
     , bool IsSelectDetails = true
     , bool IsDelete = true)
 {
     this.Master.Setup(System_ModulesID, Obj_Base, BindDefinition, IsSelectDetails, IsDelete);
 }
        void SetupPage_Selection()
        {
            this.Selection.Setup(this.pCurrentUser);

            ClsBindDefinition BindDef = new ClsBindDefinition();
            BindDef.DataSourceName = "RecruitmentTestRights";
            BindDef.KeyName = "RecruitmentTestRightsID";

            List<ClsBindGridColumn_Web_Telerik> List_Gc = new List<ClsBindGridColumn_Web_Telerik>();
            List_Gc.Add(new ClsBindGridColumn_Web_Telerik("Name", "Role Name", 300));

            BindDef.List_Gc = new List<ClsBindGridColumn>(List_Gc);

            this.Selection.Setup_AddHandlers(this.Btn_AddContributorDefaultRole, this.Grid_RightsIDs.pAjaxPanel, BindDef, true, "Select Role",  450, 400 );
        }