0 out of 1 rated this helpful - Rate this topic

DataAnnotationsModelValidatorProvider.RegisterAdapter Method

.NET Framework 4

Registers an adapter to provide client-side validation.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public static void RegisterAdapter(
	Type attributeType,
	Type adapterType
)

Parameters

attributeType
Type: System.Type
The type of the validation attribute.
adapterType
Type: System.Type
The type of the adapter.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.