Пример #1
0
 public static void SetValidation_Border(this ASPxEdit ctrlEdit, string validationGroup, bool isRequired, string reqErrorText)
 {
     ctrlEdit.SetValidationBase_Border(validationGroup);
     ctrlEdit.SetRequired(isRequired, reqErrorText);
 }
Пример #2
0
 public static void SetValidationNoText(this ASPxEdit ctrlEdit, string validationGroup)
 {
     ctrlEdit.SetValidationBase(validationGroup);
     ctrlEdit.SetRequired(true, " ");
 }