I want to show a ValidationSummary mcv3 with \"alert-error\" Bootstrap styling.
I\'m using a Razor view, and I show model errors with this code:
@Html.V
edited again
I misunderstood your question at first. I think the following is what you want:
@if (ViewData.ModelState[""] != null && ViewData.ModelState[""].Errors.Count > 0) { × @Html.ValidationSummary(true, "Errors: ") }