Defines the properties and methods that objects that participate in Web Forms validation must implement.
See Also: IValidator Members
Classes that implement this interface represent a possible user input error. When the IValidator.Validate method is called, the class updates its IValidator.IsValid property to signify whether the error occurred. The IValidator.ErrorMessage property contains a text description of the error condition that you can display when the error occurs.
The System.Web.UI.WebControls.BaseValidator class implements this interface, and all other ASP.NET validation server control classes inherit from System.Web.UI.WebControls.BaseValidator. For information on validation server controls and how they work, see Validation ASP.NET Controls.
For details on how to develop custom ASP.NET validation server controls, see How to: Validate with a Custom Function for ASP.NET Server Controls.