System.Web.UI.WebControls.BaseValidator.EvaluateIsValid Method

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.

Syntax

protected abstract bool EvaluateIsValid ()

Returns

true if the value in the input control is valid; otherwise, false.

Remarks

Use the BaseValidator.EvaluateIsValid method to determine whether the value in the input control specified by the BaseValidator.ControlToValidate property is valid.

Note:

This method is used primarily by control developers.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0