Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

[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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.