GridView::EnableModelValidation Property
.NET Framework (current version)
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: property bool EnableModelValidation { virtual bool get(); virtual void set(bool value); }
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: