This documentation is archived and is not being maintained.
FieldTemplateUserControl::SetUpValidator Method (BaseValidator, MetaColumn)
Visual Studio 2010
Sets up a DynamicValidator using the type of validator and the column to validate.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Parameters
- validator
- Type: System.Web.UI.WebControls::BaseValidator
The type of validator to set up.
- column
- Type: System.Web.DynamicData::MetaColumn
The column for which to validator is set.
This method used to set up ValidationGroup on all validators.
It performs additional logic for specific validator types in this method. For example, if range values exit in the data model this method sets up RangeValidator.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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: