Clientside Validation in “Self Validate Model” in ASP.NET-MVC3
问题 This is a followup question for this one: How does DataAnnotations really work in MVC? There is an example custom validation, and a "Self Validate Model" was mentioned. It is quite interesting, but I don't understand how to write a client side validation for it. Can my model object implement the IClientValidateble interface (or it is for the dataannotation attributes only?), I would like to see an example on how to do it. Edit: To my understanding, the "Self Validate Model" works without