protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Params["tabid"] != null)
            {
                page = Request.Params["tabid"];
                if (Request.Params["tabid"] == "202")
                {

                    loanBusiness = new NewNormalLoanAmendBusiness();
                }
                else if (Request.Params["process"] == "repayment")
                {
                    loanBusiness = new NewNormalLoanRepaymentBusiness();
                }
                else
                {
                    loanBusiness = new NewNormalLoanBusiness();
                }
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            //var test = TabController.CurrentPage.ContentKey;
            if (Request.Params["role"] != null)
            {
                if (Request.Params["role"].Equals("authorize"))
                {
                    isApprovalRole = true;
                }
            }

            loanBusiness = new NewNormalLoanRepaymentBusiness();
            if (Request.Params["codeid"] != null)
            {
                tbNewNormalLoan.Text = Request.Params["codeid"];
            }

            if (!IsPostBack)
            {

                normalLoanEntryM = new BNEWNORMALLOAN();
                normalLoanEntryM.Code = tbNewNormalLoan.Text;
                loanBusiness.loadEntity(ref normalLoanEntryM);
                init();
                Page.ClientScript.RegisterStartupScript(this.GetType(), "Alert", "clickMainTab();", true);
            }
        }