Example #1
0
        protected void btnZMSEHold_Click(object sender, EventArgs e)
        {
            txtZMSEConfirmHoldAppReason.Text      = "";
            lblZMSEConfirmHoldAppReasonError.Text = "";
            Button      btn      = (Button)sender;
            GridViewRow gvr      = (GridViewRow)btn.NamingContainer;
            int         rowindex = gvr.RowIndex;

            lblZMSEConfirmHoldAppNumber.Text = gvZMSEApproveProcess.DataKeys[rowindex].Values["ApplicationNumber"].ToString();
            lblZMSEConfirmHoldAppName.Text   = gvZMSEApproveProcess.DataKeys[rowindex].Values["ApplicantName"].ToString();
            ZMSEConfirmHoldPopup.Show();
        }
Example #2
0
 protected void btnZMSEConfirmHoldApplication_Click(object sender, EventArgs e)
 {
     lblZMSEConfirmHoldAppReasonError.Text = "";
     if (txtZMSEConfirmHoldAppReason.Text.Trim() != "")
     {
         if (txtZMSEConfirmHoldAppReason.Text.Trim().Length >= 10)
         {
             AP.ApplicationStatusUpdate("SEZMPROCESS", "HOLD", lblZMSEConfirmHoldAppNumber.Text.Trim(), txtZMSEConfirmHoldAppReason.Text.Trim());
             this.FillGridSelfEmployment();
         }
         else
         {
             lblZMSEConfirmHoldAppReasonError.Text = "ENTER VALID REASON FOR HOLD (MINIMUM OF 10 CHARACTERS)";
             ZMSEConfirmHoldPopup.Show();
         }
     }
     else
     {
         lblZMSEConfirmHoldAppReasonError.Text = "ENTER REASON FOR HOLD";
         ZMSEConfirmHoldPopup.Show();
     }
 }