Export (0) Print
Expand All

DataAnnotationsModelValidatorProvider.RegisterAdapter Method

Registers an adapter to provide client-side validation.

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

public static function RegisterAdapter(
	attributeType : Type, 
	adapterType : Type
)

Parameters

attributeType
Type: System.Type
The type of the validation attribute.
adapterType
Type: System.Type
The type of the adapter.
Show:
© 2015 Microsoft