Export (0) Print
Expand All

ValidationSummary.ShowModelStateErrors Property

.NET Framework 4.6 and 4.5

Gets or sets a value that specifies whether model-state errors should be displayed.

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

public bool ShowModelStateErrors { get; set; }

Property Value

Type: System.Boolean
true if model state errors should be displayed; otherwise, false. The default is true.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft