views:

17

answers:

0

It seems that with MVC2 client side validation the type used to derive the validation rules from is fixed to the type of the Model of the View.

I don't want to be bound to having the same ViewModel shape in and out. I want to take a message approach to action methods.

With xVal you where give the option to specify the type used for client side validation Eg:

ClientSideValidation<NewUserMessage>()

Have I missed something with MVC2 client validation?

xVal is no longer being maintained from the looks of things, so if i would like to move if possible.