HtmlHelper.EnableClientValidation Method (Boolean)

Enables or disables client validation.

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

public void EnableClientValidation(
	bool enabled
)

Parameters

enabled
Type: System.Boolean
true to enable client validation; otherwise, false.
Show: