August 2010
1 post
DataAnnotations validation with ASP.NET MVC...
Well I spent hours the other day trying to work out why my validation using the default DataAnnotations in ASP.NET MVC wasn’t working. It turns out that my resource file was internal and not public so the model binder couldn’t access the resource file properties. It’s fair enough that it couldn’t gather the error messages but I really do think that it should throw an...