ViewContext.ClientValidationEnabled Property

Gets or sets a value that indicates whether client-side validation is enabled.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

abstract ClientValidationEnabled : bool with get, set 
override ClientValidationEnabled : bool with get, set

Property Value

Type: System.Boolean
true if client-side validation is enabled; otherwise, false.
Show: