protected void txtInquiryStatus_TextChanged(object sender, EventArgs e)
 {
     try
     {
         string ITcode = txtInquiryStatus.Text.Trim();
         Auth = CMS.GetCMSCodeValidation("Status", ITcode);
         if (Auth)
         {
             MessageBox("Status Type is Already Exist");
             txtInquiryStatus.Text = "";
             txtInquiryStatus.Focus();
         }
         else
         {
             txtInquiryStatus.Focus();
         }
     }
     catch
     {
     }
 }
Пример #2
0
 protected void txtSeverityType_TextChanged(object sender, EventArgs e)
 {
     {
         try
         {
             string ITcode = txtSeverityType.Text.Trim();
             Auth = CMS.GetCMSCodeValidation("Severity", ITcode);
             if (Auth)
             {
                 MessageBox("Severity Type is Already Exist");
                 txtSeverityType.Text = "";
                 txtSeverityType.Focus();
             }
             else
             {
                 txtSeverityType.Focus();
             }
         }
         catch
         {
         }
     }
 }