Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!CallBack_GridCorporations_Corporations.IsCallback)
     {
         Page CorporationsPage = this;
         Ajax.Utility.GenerateMethodScripts(CorporationsPage);
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckCorporationsLoadAccess_Corporations();
     }
 }
Пример #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            Page CultureYearMonthForm = this;

            Ajax.Utility.GenerateMethodScripts(CultureYearMonthForm);
            this.Fill_cmbYear_CultureYearMonth();
            this.Fill_cmbMonth_CultureYearMonth();
            this.SetReportParameterID_CultureYearMonth();
            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
Пример #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            if (!CallBack_cmbPersonnel_TrafficOperationByOperator.CausedCallback && !CallBack_GridTrafficDetails_TrafficOperationByOperator.CausedCallback)
            {
                Page TrafficOperationByOperatorPage = this;
                Ajax.Utility.GenerateMethodScripts(TrafficOperationByOperatorPage);

                this.ViewCurrentLangCalendars_TrafficOperationByOperator();
                SkinHelper.InitializeSkin(this.Page);
                ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            }
        }
Пример #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!this.CallBack_GridDynamicParameters_PersonnelDynamicExtraInformation.IsCallback && !this.CallBack_GridDynamicParameterPairs_PersonnelDynamicExtraInformation.IsCallback)
     {
         Page PersonnelDynamicExtraInformationPage = this;
         Ajax.Utility.GenerateMethodScripts(PersonnelDynamicExtraInformationPage);
         this.ViewCurrentLangCalendars_PersonnelDynamicExtraInformation();
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckPersonnelDynamicExtraInformationLoadAccess_PersonnelDynamicExtraInformation();
     }
 }
Пример #5
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!CallBack_cmbSearchField_WorkFlowDetail.IsCallback && !CallBack_cmbPersonnel_WorkFlowDetail.IsCallback)
     {
         RefererValidationProvider.CheckReferer();
         Page WorkFlowDetailPage = this;
         Ajax.Utility.GenerateMethodScripts(WorkFlowDetailPage);
         this.SetPersonnelPageSize_cmbPersonnel_WorkFlowDetail();
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckWorkFlowDetailLoadAccess_WorkFlowDetail();
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!CallBack_GridEndorsementFlowState_EndorsementFlowState.IsCallback && !CallBack_txtEndorsementFlowState_EndorsementFlowState.IsCallback)
        {
            Page EndorsementFlowState = this;
            Ajax.Utility.GenerateMethodScripts(EndorsementFlowState);

            this.SetRequestStatesStr_EndorsementFlowState();
            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
    }
Пример #7
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!this.CallBack_GridMasterPublicNews_MasterPublicNews.CausedCallback)
        {
            Page MasterPublicNews = this;
            Ajax.Utility.GenerateMethodScripts(MasterPublicNews);

            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            this.CheckMasterPublicNewsLoadAccess_MasterPublicNews();
        }
    }
Пример #8
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!this.CallBack_GridShift_Shift.CausedCallback && !this.CallBack_GridShiftPairs_Shift.CausedCallback && !this.CallBackcmbShiftType_Shift.CausedCallback)
     {
         Page ShiftPage = this;
         Ajax.Utility.GenerateMethodScripts(ShiftPage);
         this.SetShiftTypesStr_Shift();
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckShiftsLoadAccess_Shifts();
     }
 }
Пример #9
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!CallBack_GridYearlyHolidays_YearlyHolidays.IsCallback)
     {
         Page YearlyHolidaysPage = this;
         Ajax.Utility.GenerateMethodScripts(YearlyHolidaysPage);
         this.Fill_cmbYear_YearlyHolidays();
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckYearlyHolidaysLoadAccess_YearlyHolidays();
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            Page Station_Clock_Date_ReportParameterForm = this;

            Ajax.Utility.GenerateMethodScripts(Station_Clock_Date_ReportParameterForm);

            this.ViewCurrentLangCalendars_Station_Clock_Date_ReportParameter();
            this.SetCurrentDate_RuleParameters();
            this.SetReportParameterID_Station_Clock_Date_ReportParameter();
            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
Пример #11
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!CallBack_cmbReportFiles_Reports.IsCallback && !CallBack_trvReports_Reports.IsCallback && !CallBack_trvReportAccessLevels_Reports.IsCallback)
        {
            Page ReportsPage = this;
            Ajax.Utility.GenerateMethodScripts(ReportsPage);

            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            this.CheckReportsLoadAccess_Reports();
        }
    }
Пример #12
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            if (!CallBack_cmbCalculationRange_PersonnelSearch.IsCallback && !CallBack_cmbControlStation_PersonnelSearch.IsCallback && !CallBack_cmbDepartment_PersonnelSearch.IsCallback && !CallBack_cmbEmployType_PersonnelSearch.IsCallback && !CallBack_cmbMarriageState_PersonnelSearch.IsCallback && !CallBack_cmbMilitaryState_PersonnelSearch.IsCallback && !CallBack_cmbOrganizationPost_PersonnelSearch.IsCallback && !CallBack_cmbRuleGroups_PersonnelSearch.IsCallback && !CallBack_cmbSex_PersonnelSearch.IsCallback && !CallBack_cmbWorkGroups_PersonnelSearch.IsCallback)
            {
                Page PersonnelSearchPage = this;
                Ajax.Utility.GenerateMethodScripts(PersonnelSearchPage);

                this.ViewCurrentLangCalendars_PersonnelSearch();
                SkinHelper.InitializeSkin(this.Page);
                ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            }
        }
Пример #13
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckHelpReferer();
     if (!IsPostBack)
     {
         if (Request.QueryString["formKeyHelp"] != null)
         {
             hf_TreeViewFormKey_HelpForm.Value = Request.QueryString["formKeyHelp"].ToString();
         }
     }
     SkinHelper.InitializeSkin(this.Page);
     ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            if (!this.CallBack_trvAccessLevelsAsign_AccessLevelsAsign.IsCallback)
            {
                Page AccessLevelsPage = this;
                Ajax.Utility.GenerateMethodScripts(AccessLevelsPage);

                SkinHelper.InitializeSkin(this.Page);
                ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
                this.CheckAccessLevelsAsignLoadAccess_AccessLevelsAsign();
            }
        }
Пример #15
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!this.CallBack_GridWorkGroups_WorkGroups.CausedCallback)
     {
         Page WorkGroupPage = this;
         Ajax.Utility.GenerateMethodScripts(WorkGroupPage);
         Fill_cmbYear_WorkGroups();
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckWorkGroupsLoadAccess_WorkGroups();
     }
 }
Пример #16
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            if (!CallBack_GridRegisteredRequests_CollectiveTraffic.CausedCallback)
            {
                Page CollectiveTrafficPage = this.Page;
                Ajax.Utility.GenerateMethodScripts(CollectiveTrafficPage);

                this.ViewCurrentLangCalendars_CollectiveTraffic();
                SkinHelper.InitializeSkin(this.Page);
                ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!CallBack_cmbSearchField_OrganizationWorkFlow.IsCallback && !CallBack_GridWorkFlows_OrganizationWorkFlow.IsCallback && !CallBack_trvUnderManagementPersonnel_OrganizationWorkFlow.IsCallback && !CallBack_WorkFlow_OrganizationWorkFlow.IsCallback && !CallBack_cmbGroupName_OrganizationWorkFlow.IsCallback)
     {
         Page OrganizationWorkFlowPage = this;
         Ajax.Utility.GenerateMethodScripts(OrganizationWorkFlowPage);
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckOrganizationWorkFlowLoadAccess_OrganizationWorkFlow();
         this.UnderManagementPersonnelLoadonDemandExceptionsHandler(HttpContext.Current.Request.QueryString);
     }
 }
Пример #18
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!this.CallBack_GridUiValidation_UiValidation.CausedCallback)
        {
            Page UiValidation = this;
            Ajax.Utility.GenerateMethodScripts(UiValidation);

            this.InitializeSkin();
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            this.CheckUIValidationLoadAccess_UiValidation();
        }
    }
Пример #19
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!CallBcak_cmbContractor_Contract.IsCallback && !CallBack_GridContracts_Contract.IsCallback)
     {
         Page MachinesPage = this;
         Ajax.Utility.GenerateMethodScripts(MachinesPage);
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         SetContractPageSize_Contract();
         this.CheckContractLoadAccess_Contract();
     }
 }
Пример #20
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        Page CultureConditionalDateTimeForm = this;

        Ajax.Utility.GenerateMethodScripts(CultureConditionalDateTimeForm);

        this.ViewCurrentLangCalendars_CultureConditionalDateTime();
        this.SetCurrentDate_CultureConditionalDateTime();
        this.SetReportParameterID_CultureConditionalDateTime();
        SkinHelper.InitializeSkin(this.Page);
        ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
    }
Пример #21
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RefererValidationProvider.CheckReferer();
     if (!this.CallBack_trvPosts_Post.IsCallback)
     {
         Page OrganizationPostsPage = this;
         Ajax.Utility.GenerateMethodScripts(OrganizationPostsPage);
         this.OrgPostsLoadonDemandExceptionsHandler(HttpContext.Current.Request.QueryString);
         SkinHelper.InitializeSkin(this.Page);
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
         this.CheckOrganizationPostsLoadAccess_OrganizationPosts();
     }
 }
Пример #22
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!CallBack_cmbMachines_TrafficsTransfer.IsCallback && !CallBack_cmbTrafficTransferType_TrafficsTransfer.IsCallback && !CallBack_Container_TrafficsTransferProgressFeatures.IsCallback)
        {
            Page TrafficsTransferPage = this;
            Ajax.Utility.GenerateMethodScripts(TrafficsTransferPage);

            this.ViewCurrentCalendars_TrafficsTransfer();
            this.SetCurrentDate_TrafficsTransfer();
            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
    }
Пример #23
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            if (!CallBack_GridTrafficPairs_RequestOnTraffic.IsCallback && !CallBack_GridRegisteredRequests_RequestOnTraffic.IsCallback && !CallBack_cmbTrafficType_RequestOnTraffic.IsCallback)
            {
                Page RequestOnTrafficPage = this;
                Ajax.Utility.GenerateMethodScripts(RequestOnTrafficPage);

                this.CheckRequestOnTrafficLoadState_RequestOnTraffic();
                this.SetRequestsStatesStr_RequestOnTraffic();
                SkinHelper.InitializeSkin(this.Page);
                ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            }
        }
Пример #24
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!CallBack_GridManagerWorkFlows_SubstituteSettings.IsCallback && !CallBack_trvUnderManagementPersonnel_SubstituteSettings.IsCallback && !CallBack_trvWorkFlowAccessLevels_SubstituteSettings.IsCallback)
        {
            Page SubstituteSttingsPage = this;
            Ajax.Utility.GenerateMethodScripts(SubstituteSttingsPage);

            this.CheckSubstituteSettingsLoadAccess_SubstituteSettings();
            this.UnderManagementPersonnelLoadonDemandExceptionsHandler(HttpContext.Current.Request.QueryString);
            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
    }
Пример #25
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!this.CallBack_cmbOperator_CartableFilter.IsCallback && !this.CallBack_GridCombinationalConditions_CartableFilter.IsCallback && !this.Page.IsPostBack)
        {
            Page CartableFilterPage = this;
            Ajax.Utility.GenerateMethodScripts(this.GetType(), ref CartableFilterPage);

            this.ViewCurrentLangCalendars_CartableFilter();
            this.Fill_cmbFilterField_CartableFilter();
            this.Fill_cmbOperator_CartableFilter("Date");
            this.InitializeSkin();
        }
    }
Пример #26
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!CallBack_cmbField_ReportParametersConditions.IsCallback && !CallBack_txtConditions_ReportParametersConditions.IsCallback && !CallBack_txtOrders_ReportParametersConditions.IsCallback)
        {
            Page ReportParametersConditionsPage = this;
            Ajax.Utility.GenerateMethodScripts(ReportParametersConditionsPage);



            this.InitializeSkin();
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
    }
Пример #27
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            RefererValidationProvider.CheckReferer();

            Page SystemMessagePage = this;
            Ajax.Utility.GenerateMethodScripts(SystemMessagePage);

            this.CheckSystemMessagesLoadAccess_SystemMessage();
            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
    }
Пример #28
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        if (!CallBack_GridPersonnelRulesGroups_PersonnelRulesGroups.IsCallback && !CallBackcmbRulesGroups_PersonnelRulesGroups.IsCallback)
        {
            Page PersonnelRulesGroupsPage = this;
            Ajax.Utility.GenerateMethodScripts(PersonnelRulesGroupsPage);

            this.ViewCurrentLangCalendars_PersonnelRulesGroups();
            this.SetCurrentDate_PersonnelRulesGroups();
            SkinHelper.InitializeSkin(this.Page);
            ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
        }
    }
Пример #29
0
    protected void Page_Load(object sender, EventArgs e)
    {
        RefererValidationProvider.CheckReferer();
        SkinHelper.InitializeSkin(this.Page);

        if (!ClientScript.IsStartupScriptRegistered("personIdKey"))
        {
            string myScript = string.Empty;
            myScript  = "\n<script type=\"text/javascript\" language=\"Javascript\" id=\"EventScriptBlock\">\n";
            myScript += "window.personId='" + BUser.CurrentUser.Person.ID.ToString() + "';";
            myScript += "\n\n </script>";
            Page.ClientScript.RegisterStartupScript(this.GetType(), "personIdKey", myScript, false);
        }
    }
Пример #30
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RefererValidationProvider.CheckReferer();
            if (!CallBack_cmbPersonnel_ManagersWorkFlow.IsCallback && !CallBack_cmbPostSearchResult_ManagersWorkFlow.IsCallback && !CallBack_GridManagersWorkFlow_ManagersWorkFlow.IsCallback && !CallBack_trvOrganizationPosts_ManagersWorkFlow.IsCallback)
            {
                Page UnderManagementPersonnelExeptionAccessCreationPage = this;
                Ajax.Utility.GenerateMethodScripts(UnderManagementPersonnelExeptionAccessCreationPage);

                SetPersonnelPageSize_cmbPersonnel_ManagersWorkFlow();
                SetPersonnelPageCount_cmbPersonnel_ManagersWorkFlow(LoadState.Normal, this.cmbPersonnel_ManagersWorkFlow.DropDownPageSize, string.Empty);
                SkinHelper.InitializeSkin(this.Page);
                ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
            }
        }