Export (0) Print
Expand All
Expand Minimize

ListView::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.Extensions (in System.Web.Extensions.dll)

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

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
Show:
© 2015 Microsoft