HtmlHelper.EnableClientValidation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.