protected void btnPrintLimit_Click(object sender, EventArgs e)
        {
            ReportDAL rdal    = new ReportDAL();
            Result    oResult = new Result();
            Config    oConfig = (Config)Session[Constants.SES_USER_CONFIG];


            if (!string.IsNullOrEmpty(txtMasterNo.Text))
            {
                if (oConfig != null)
                {
                    string sCustomerID   = txtCustomerID.Text;
                    string sMasterNo     = txtMasterNo.Text;
                    string sCustomerName = txtCustomerName.Text;

                    oResult = rdal.CustomerLimitReport(sCustomerName, sCustomerID, sMasterNo, oConfig.BankCodeID, oConfig.DivisionID, oConfig.BranchID);

                    if (oResult.Status)
                    {
                        if (oResult.Return != null)
                        {
                            Session[Constants.SES_RPT_DATA] = oResult.Return;
                            Page.RegisterStartupScript(Constants.REPORT_WINDOW, Util.OpenReport());
                        }
                        else
                        {
                            ucMessage.OpenMessage(oResult.Message, Constants.MSG_TYPE_INFO);
                            ScriptManager.RegisterStartupScript(this.upSuccess, typeof(string), Constants.POPUP_WINDOW, Util.OpenPopup("info"), true);
                        }
                    }
                }
            }
            else
            {
                ucMessage.OpenMessage("Enter a valid master no. Please check!", Constants.MSG_TYPE_INFO);
                ScriptManager.RegisterStartupScript(this.upSuccess, typeof(string), Constants.POPUP_WINDOW, Util.OpenPopup("info"), true);
            }
        }