IClientValidationService Interface

Definition

Provides client-side validation HTML attributes (data-val-*) for form fields based on their ValidationAttributes.

public interface IClientValidationService
type IClientValidationService = interface
Public Interface IClientValidationService

Methods

Name Description
GetClientValidationAttributes(FieldIdentifier)

Gets the data-val-* HTML attributes for a form field. Returns null if no validation attributes apply.

Applies to