HtmlHelper.ClientValidationEnabled Property

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

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

Syntax

'Declaration
Public Shared Property ClientValidationEnabled As Boolean
'Usage
Dim value As Boolean

value = HtmlHelper.ClientValidationEnabled

HtmlHelper.ClientValidationEnabled = value
public static bool ClientValidationEnabled { get; set; }
public:
static property bool ClientValidationEnabled {
    bool get ();
    void set (bool value);
}
static function get ClientValidationEnabled () : boolean
static function set ClientValidationEnabled (value : boolean)

Property Value

Type: System.Boolean
true if enable client validation is enabled; otherwise, false.

See Also

Reference

HtmlHelper Class

System.Web.Mvc Namespace