MVC2 jQuery Validation & Custom Business Objects
- by durilai
I have an application that was built with MVC1 and am in the process of updating to MVC2. I have a custom DLL and BLL, of which the model objects are custom business objects that reside in a separate class library.
I was using this validation library in MVC1, which worked great. It worked great, but I want to eliminate the extra plugins and use what is available. Rather than use the Enterprise Library validation attributes I have converted to using DataAnnotations and want to use jQuery validation as the client side validation.
My questions are:
1) Is the MicrosoftMvcJQueryValidation JS file still required, where do I download.
2) How to you automate the validation to views that do not have models, IE Membership sign in page?
3) How to you add model errors in a custom business layer.
Thanks for any help or guidance.