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). The form is currently pretty much how the scaffolder creates it: @using (Html.BeginForm("Index", "Registration")) { @Html.ValidationSummary(true) <fieldset> <legend>Registration details</legend> @Html.ValidationSummary(false, "Please correct these errors:") @Html.ValidationMessageFor(model => model.Username) <div class="editor-label"> @Html.LabelFor(model => model.Username) </div> <div class="editor-field"> @Html.EditorFor(model => model.Username) </div> <p> <input type=