ASP.NET MVC 2.0 Client-Side Validation HOWTO

Posted by AlexWalker on Stack Overflow See other posts from Stack Overflow or by AlexWalker
Published on 2010-04-14T20:38:36Z Indexed on 2010/04/14 20:43 UTC
Read the original article Hit count: 392

Where can I find some good information on the new client-side validation functionality included in ASP.NET MVC v2?

I'd like to find information about using the client-side validation JavaScript without using DataAnnotations, and I'd like to find out how custom validations are handled.

For example, if I want to validate two fields together, how would I utilize the provided JavaScript? Or if I wanted to write validation code on the server-side that queried a database, how could I use the provided JavaScript to implement a similar validation?

I don't see any books on MVC2 yet, and the blog entries I've found are not detailed enough.

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-mvc