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
If it needs to work with clientside javascript I suggests doing this:
.validation-summary-valid { display: none; }
You still can assign the bootstrap class
@Html.ValidationSummary(null, new {@class= "alert alert-danger" })
but it will only show when you have actual errors.