EnableModelValidation Property
TOC
Collapse the table of content
Expand the table of content

ListView.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.

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

abstract EnableModelValidation : bool with get, set
override EnableModelValidation : bool with get, set

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
Available since 3.5
Return to top
Show:
© 2016 Microsoft