IValidatableObject in MVC3 – client side validation

As I did not get a (valid) answer here, I asked a couple of people from Microsoft and they confirmed that it was not currently possible.

Brad Wilson:

At this time, only property level validators can emit client-side
validation (as that lines up much better with the idea of input
validation in the form of the browser… there is no “model” to speak
of, from the browser’s point of view).

Stuart Leeks:

I don’t believe you can hook up client validation with
IValidatableObject

Leave a Comment