This documentation is archived and is not being maintained.
ValidatorCollection::Add Method
Visual Studio 2010
Adds the specified validation server control to the ValidatorCollection collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- validator
- Type: System.Web.UI::IValidator
The validation server control to add.
When added to the ValidatorCollection collection of a Page object through the Validators property, the IValidator implementation takes part in validation. Its Validate method is called together with the Validate methods of all other validators. All validators then share in determining whether the Page object as a whole is valid.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: