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)

'Declaration
Public Overridable Property ClientValidationEnabled As Boolean 
	Get 
	Set
'Usage
Dim instance As ViewContext 
Dim value As Boolean 

value = instance.ClientValidationEnabled

instance.ClientValidationEnabled = value

Property Value

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