System.Web.UI.WebControls.CustomValidator Members

The members of System.Web.UI.WebControls.CustomValidator are listed below.

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

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.CustomValidator class.

Public Properties

ClientValidationFunctionstring.

Gets or sets the name of the custom client-side script function used for validation.

ValidateEmptyTextbool.

Gets or sets a Boolean value indicating whether empty text should be validated.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the properties of the System.Web.UI.WebControls.CustomValidator control to the output stream for rendering on the client.

override
ControlPropertiesValid() : bool

Checks the properties of the control for valid values.

override
EvaluateIsValid() : bool

Overrides the System.Web.UI.MobileControls.BaseValidator.EvaluateIsValid method.

OnServerValidate(string) : bool

Raises the CustomValidator.ServerValidate event for the System.Web.UI.WebControls.CustomValidator control.

Public Events

ServerValidate

Occurs when validation is performed on the server.