MVC 2 ModelState - Show all Errors
My asp.net form is throwing errors relating to an incorrect model, but on the page it's not showing me what model field threw the error. I'd like to Debug.WriteLine all errors in the ModelState but am unsure how to go about it. Any id开发者_如何学Goeas?
Why wouldn't <%=Html.ValidationSummary()?> work?
精彩评论