This documentation is archived and is not being maintained.
BaseValidator.EvaluateIsValid Method
.NET Framework 1.1
When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.
[Visual Basic] Protected MustOverride Function EvaluateIsValid() As Boolean [C#] protected abstract bool EvaluateIsValid(); [C++] protected: virtual bool EvaluateIsValid() = 0; [JScript] protected abstract function EvaluateIsValid() : Boolean;
Return Value
true if the value in the input control is valid; otherwise, false.
Remarks
Use the EvaluateIsValid method to determine whether the value in the input control specified by the ControlToValidate property is valid.
Notes to Inheritors: You must implement this method in a derived class and return whether the value in the input control is valid.
Note This method is primarily used by control developers.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace
Show: