Share via


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

public static bool ClientValidationEnabled { get; set; }
public:
property bool ClientValidationEnabled {
    static bool get();
    static void set(bool value);
}
static member ClientValidationEnabled : bool with get, set
Public Shared Property ClientValidationEnabled As Boolean

Property Value

Type: System.Boolean

true if enable client validation is enabled; otherwise, false.

See Also

HtmlHelper Class
System.Web.Mvc Namespace

Return to top