ValidationSummary.ShowModelStateErrors Property

.NET Framework (current version)
 

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)

[ThemeableAttribute(false)]
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
Available since 4.5
Return to top
Show: