asp.net.ph

Skip Navigation Links

Base Validation Control Properties

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.

Properties


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.

See Also

BaseValidator Class   Data Entry Validation ( Client-Side )



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note