This documentation is archived and is not being maintained.
FormView::EnableModelValidation Property
Visual Studio 2008
Updated: July 2008
Gets or sets a value that indicates whether a validator control will handle exceptions that occur during insert or update operations.
Assembly: System.Web (in System.Web.dll)
public: virtual property bool EnableModelValidation { bool get (); void set (bool value); }
<asp:FormView EnableModelValidation="True|False" />
Property Value
Type: System::Booleantrue if a validator control will handle exceptions that occur during insert or update operations; otherwise, false. The default is false.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: