DataAnnotationsModelValidatorProvider.RegisterAdapter Method

Visual Studio 2010

Registers an adapter to provide client-side validation.

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

'Declaration
Public Shared Sub RegisterAdapter ( _
	attributeType As Type, _
	adapterType As Type _
)

Parameters

attributeType
Type: System.Type
The type of the validation attribute.
adapterType
Type: System.Type
The type of the adapter.

Community Additions

ADD
Show: