Export (0) Print
Expand All
Expand Minimize

FormView.EnableModelValidation Property

Gets or sets a value that indicates whether a validator control will handle exceptions that occur during insert or update operations.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

'Declaration
Public Overridable Property EnableModelValidation As Boolean

Property Value

Type: System.Boolean
true if a validator control will handle exceptions that occur during insert or update operations; otherwise, false. The default is false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP2, 2.0 SP2
Show:
© 2015 Microsoft