Language

ClientValidationProvider Class

Definition

Provides client-side validation metadata for a form's model.

public abstract class ClientValidationProvider
type ClientValidationProvider = class
Public MustInherit Class ClientValidationProvider
Inheritance
ClientValidationProvider

Constructors

Name Description
ClientValidationProvider()

Methods

Name Description
RenderClientValidationRules(EditContext, IReadOnlyDictionary<FieldIdentifier,String>)

Returns a RenderFragment that renders the client-side validation rules for the form's rendered fields, or null when no client-side validation data applies (for example when none of the rendered fields are validated on the server).

Applies to