DetailsView.EnableModelValidation Property


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

 virtual property bool EnableModelValidation { bool get(); void set(bool value); };
public virtual bool EnableModelValidation { get; set; }
member this.EnableModelValidation : bool with get, set
Public Overridable Property EnableModelValidation As Boolean

Property Value

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

Applies to