DetailsView::EnableModelValidation Property


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)

property bool EnableModelValidation {
	virtual bool get();
	virtual void set(bool value);

Property Value

Type: System::Boolean

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

.NET Framework
Available since 2.0
Return to top