Validate two properties against each other in ASP.NET MVC2, with DataAnnotations
Posted
by mico
on Stack Overflow
See other posts from Stack Overflow
or by mico
Published on 2010-04-22T20:17:40Z
Indexed on
2010/04/24
20:53 UTC
Read the original article
Hit count: 246
asp.net-mvc-2
|validation
For example, I'd like to validate a user registration form and check whether user has entered his password in "password" and "confirm password" fields, AND that those two values are the same.
Found this but is reflection really the only way?
© Stack Overflow or respective owner