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

DetailsView.EnableModelValidation Property

.NET Framework (current version)

Gets or sets a value that indicates whether data-model validation is enabled.

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

Public Overridable Property EnableModelValidation As Boolean

Property Value

Type: System.Boolean

true if data model validation is enabled; otherwise, false.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft