Redigeeri

Jagamisviis:


ValidationSummary.ShowModelStateErrors Property

Definition

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

public:
 property bool ShowModelStateErrors { bool get(); void set(bool value); };
[System.Web.UI.Themeable(false)]
public bool ShowModelStateErrors { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.ShowModelStateErrors : bool with get, set
Public Property ShowModelStateErrors As Boolean

Property Value

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

Attributes

Applies to