Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Payroll_PaySlipOptionMgr objOptMgr = new Payroll_PaySlipOptionMgr();
            objOptMgr.GetPaySlipOptionsValue();

            Common.FillDropDownList(objSalaryHeadMgr.SelectSalaryHead(0, "N"), ddlBenefitHead, "HEADNAME", "SHEADID", true, "Select");
            Common.FillDropDownList(objMasMgr.SelectEmpType(0, "Y"), ddlEmpType, "TYPENAME", "EMPTYPEID", true, "Select");

            Common.FillDropDownListWithGross(objSalaryHeadMgr.SelectGrossSalHeadWithName(0), ddlPercentHead, "HEADNAME", "SHEADID", true);

            Common.FillDropDownList(objSalaryHeadMgr.SelectFiscalYear(0), ddlFiscalYear, "FISCALYRTITLE", "FISCALYRID", false);
            this.OpenRecord();
            hfMPCIsUpdate.Value = "N";
            this.FillMPCDayDropDownList(31);
            this.OpenMonthlyPayrollCycleData();
            this.OpenBenefitsPolicyRecord();
            hfBPID.Value = "";
        }
    }