MVC2 jQuery Validation & Custom Business Objects
Posted
by durilai
on Stack Overflow
See other posts from Stack Overflow
or by durilai
Published on 2010-03-28T19:57:18Z
Indexed on
2010/03/28
20:03 UTC
Read the original article
Hit count: 682
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.
© Stack Overflow or respective owner