protected void btnZMARConfirmRejectApplication_Click(object sender, EventArgs e) { lblZMARConfirmRejectAppReasonSelectionError.Text = ""; lblZMARConfirmRejectAppReasonError.Text = ""; if (rbZMARConfirmRejectReasonName.Checked || rbZMARConfirmRejectReasonCET.Checked || rbZMARConfirmRejectReasonOther.Checked) { lblZMARConfirmRejectAppReasonSelectionError.Text = ""; if (lblZMARConfirmRejectAppReasonSelectionError.Text.Trim().Length > 10) { lblZMARConfirmRejectAppReasonError.Text = ""; AP.ApplicationStatusUpdate(drpArivuSelectYear.SelectedValue + "REJECTED", "REJECTED", lblZMARConfirmRejectAppNumber.Text.Trim(), txtZMARConfirmRejectAppReason.Text.Trim()); this.FillGridArivu(); } else { lblZMARConfirmRejectAppReasonError.Text = "Enter Valid Reason to reject application(minium 10 characters)"; ZMARConfirmRejectPopup.Show(); } } else { lblZMARConfirmRejectAppReasonSelectionError.Text = "Select any reason to REJECT application"; ZMARConfirmRejectPopup.Show(); } }
protected void btnZMARReject_Click(object sender, EventArgs e) { rbZMARConfirmRejectReasonName.Checked = false; rbZMARConfirmRejectReasonCET.Checked = false; rbZMARConfirmRejectReasonOther.Checked = false; txtZMARConfirmRejectAppReason.Visible = false; lblZMARConfirmRejectAppReasonError.Text = ""; lblZMARConfirmRejectAppReasonSelectionError.Text = ""; Button btn = (Button)sender; GridViewRow gvr = (GridViewRow)btn.NamingContainer; int rowindex = gvr.RowIndex; lblZMARConfirmRejectAppNumber.Text = gvZMARApproveProcess.DataKeys[rowindex].Values["ApplicationNumber"].ToString(); lblZMARConfirmRejectAppName.Text = gvZMARApproveProcess.DataKeys[rowindex].Values["ApplicantName"].ToString(); ZMARConfirmRejectPopup.Show(); }
protected void rbZMARConfirmRejectReasonName_CheckedChanged(object sender, EventArgs e) { lblZMARConfirmRejectAppReasonSelectionError.Text = ""; lblZMARConfirmRejectAppReasonError.Text = ""; if (rbZMARConfirmRejectReasonName.Checked) { txtZMARConfirmRejectAppReason.Text = "Aadhaar and Caste & Income Certificate Name Mismatch"; txtZMARConfirmRejectAppReason.Visible = true; ZMARConfirmRejectPopup.Show(); } else if (rbZMARConfirmRejectReasonCET.Checked) { txtZMARConfirmRejectAppReason.Text = "Invalid CET Certificate is submitted"; txtZMARConfirmRejectAppReason.Visible = true; ZMARConfirmRejectPopup.Show(); } else if (rbZMARConfirmRejectReasonOther.Checked) { txtZMARConfirmRejectAppReason.Text = ""; txtZMARConfirmRejectAppReason.Visible = true; ZMARConfirmRejectPopup.Show(); } }