Ejemplo n.º 1
0
 protected void cvstatus_ServerValidate(object source, ServerValidateEventArgs args)
 {
     try
     {
         string ErrorMessage1 = string.Empty;
         string nameformat    = string.Empty;
         args.IsValid          = UtilsValidation.ValidateReadOnlyFields(txtstatus.Text, Convert.ToBoolean(Session["provera-statusa-zahteva-txtstatusIsRequired"]), out ErrorMessage1);
         cvstatus.ErrorMessage = ErrorMessage1;
     }
     catch (Exception)
     {
         cvstatus.ErrorMessage = string.Empty;
         args.IsValid          = false;
     }
 }
Ejemplo n.º 2
0
 protected void cvresponse_ServerValidate(object source, ServerValidateEventArgs args)
 {
     try
     {
         string ErrorMessage1 = string.Empty;
         string nameformat    = string.Empty;
         args.IsValid            = UtilsValidation.ValidateReadOnlyFields(txtresponse.Text, Convert.ToBoolean(Session["zahtev-dobijanje-koda-deblokada-kartice-txtresponseIsRequired"]), out ErrorMessage1);
         cvresponse.ErrorMessage = ErrorMessage1;
     }
     catch (Exception)
     {
         cvresponse.ErrorMessage = string.Empty;
         args.IsValid            = false;
     }
 }
Ejemplo n.º 3
0
 protected void cvdatumisteka_ServerValidate(object source, ServerValidateEventArgs args)
 {
     try
     {
         string ErrorMessage1 = string.Empty;
         string nameformat    = string.Empty;
         args.IsValid = UtilsValidation.ValidateReadOnlyFields(txtdatumsiteka.Text, Convert.ToBoolean(Session["zahtev-provera-datuma-isticanja-sertifikata-txtdatumsitekaIsRequired"]), out ErrorMessage1);
         cvdatumisteka.ErrorMessage = ErrorMessage1;
     }
     catch (Exception)
     {
         cvdatumisteka.ErrorMessage = string.Empty;
         args.IsValid = false;
     }
 }
 protected void cvdatotekasert_ServerValidate(object source, ServerValidateEventArgs args)
 {
     try
     {
         string ErrorMessage1 = string.Empty;
         string nameformat    = string.Empty;
         args.IsValid = UtilsValidation.ValidateReadOnlyFields(txtdatotekasert.Text, Convert.ToBoolean(Session["Preuzimanje-softverskog-sertifikata-pkcs12-txtdatotekasertIsRequired"]), out ErrorMessage1);
         cvdatotekasert.ErrorMessage = ErrorMessage1;
     }
     catch (Exception)
     {
         cvdatotekasert.ErrorMessage = string.Empty;
         args.IsValid = false;
     }
 }