System.Web.UI.WebControls.BaseValidator: Property Members

The properties of System.Web.UI.WebControls.BaseValidator are listed below. For a list of all members, see the BaseValidator Members list.

See Also: Inherited members from System.Web.UI.WebControls.Label

Public Properties

override
AssociatedControlIDstring.

This property is not supported.

ControlToValidatestring.

Gets or sets the input control to validate.

DisplayValidatorDisplay.

Gets or sets the display behavior of the error message in a validation control.

EnableClientScriptbool.

Gets or sets a value indicating whether client-side validation is enabled.

override
Enabledbool.

Gets or sets a value that indicates whether the validation control is enabled.

ErrorMessagestring.

Gets or sets the text for the error message displayed in a System.Web.UI.WebControls.ValidationSummary control when validation fails.

override
ForeColorSystem.Drawing.Color.

Gets or sets the color of the message displayed when validation fails.

IsValidbool.

Gets or sets a value that indicates whether the associated input control passes validation.

SetFocusOnErrorbool.

Gets or sets a value that indicates whether focus is set to the control specified by the BaseValidator.ControlToValidate property when validation fails.

override
Textstring.

Gets or sets the text displayed in the validation control when validation fails.

ValidationGroupstring.

Gets or sets the name of the validation group to which this validation control belongs.

Protected Properties

[read-only]
PropertiesValidbool.

Gets a value that indicates whether the control specified by the BaseValidator.ControlToValidate property is a valid control.

[read-only]
RenderUplevelbool.

Gets a value that indicates whether the client's browser supports "uplevel" rendering.