Top "Asp.net-mvc-2-validation" questions

The ASP.

ASP.NET MVC Html.ValidationSummary(true) does not display model errors

I have some problem with Html.ValidationSummary. I don't want to display property errors in ValidationSummary. And when I set …

asp.net-mvc asp.net-mvc-2-validation
ModelState.AddModelError - How can I add an error that isn't for a property?

I am checking my database in Create(FooViewModel fvm){...} to see if the fvm.prop1 and fvm.prop2 already exist …

asp.net-mvc-2 asp.net-mvc-2-validation modelstate
How to display MVC 3 client side validation results in validation summary

I have a registration form on which I use client side validation (Required, StringLength etc. specified on my view model). …

asp.net-mvc asp.net-mvc-3 asp.net-mvc-2-validation validationsummary
Default resource for data annotations in ASP.NET MVC

There's a way to set the default resource to the data annotations validations? I don't wanna make something like this: […

.net asp.net-mvc-2 data-annotations asp.net-mvc-2-validation