public GetCalloutExtender ( |
||
validator | ||
controlId | string | |
return |
internal void AddRequiredFieldValidator(ValidatorBuilder validatorBuilder, ValidationItem item) { var validator = validatorBuilder.GetRequiredFieldValidator(item, NextValidationControlId); Validators.Add(validator); var calloutExtender = validatorBuilder.GetCalloutExtender(validator, NextValidationControlId); AddToForm(validator, calloutExtender); }
internal void AddRegularExpressionValidator(ValidatorBuilder validatorBuilder, ValidationItem item, string regex) { var validator = validatorBuilder.GetRegularExpressionValidator(item, NextValidationControlId, regex); Validators.Add(validator); var calloutExtender = validatorBuilder.GetCalloutExtender(validator, NextValidationControlId); AddToForm(validator, calloutExtender); }