public static void SetValidation_Border(this ASPxEdit ctrlEdit, string validationGroup, bool isRequired, string reqErrorText) { ctrlEdit.SetValidationBase_Border(validationGroup); ctrlEdit.SetRequired(isRequired, reqErrorText); }
public static void SetValidationNoText(this ASPxEdit ctrlEdit, string validationGroup) { ctrlEdit.SetValidationBase(validationGroup); ctrlEdit.SetRequired(true, " "); }