Delen via


HtmlHelper.EnableClientValidation Method

Definition

Overloads

EnableClientValidation()

Enables input validation that is performed by using client script in the browser.

EnableClientValidation(Boolean)

Enables or disables client validation.

EnableClientValidation()

Enables input validation that is performed by using client script in the browser.

public void EnableClientValidation ();
member this.EnableClientValidation : unit -> unit
Public Sub EnableClientValidation ()

Applies to

EnableClientValidation(Boolean)

Enables or disables client validation.

public void EnableClientValidation (bool enabled);
member this.EnableClientValidation : bool -> unit
Public Sub EnableClientValidation (enabled As Boolean)

Parameters

enabled
Boolean

true to enable client validation; otherwise, false.

Applies to