ASP.NET Syntax ASP.NET Syntax for Validation Controls
This section describes the properties inherited from the BaseValidator class, and apply to all validation server controls. The links open to a full description of each attribute, including syntax, valid values, and example usage.
Property |
Description |
ControlToValidate |
The programmatic ID of the input control that the validation control will evaluate. |
Display |
The display behavior for the specified validation control. |
EnableClientScript |
Indicates whether client-side validation is enabled. |
Enabled |
Indicates whether the validation control is enabled. |
ErrorMessage |
The error message to display in the ValidationSummary control if validation fails. |
ForeColor |
The color of the inline message to display when validation fails. |
IsValid |
Indicates whether the input control specified by the ControlToValidate property passes validation. |
Text |
The error message to display in the validation control when validation fails. |
BaseValidator Class Data Entry Validation ( Client-Side )
|