I have a form that i want to validate ( show validation summary, show validation properties error messages and support jquery client validation ).
Validation summary appears, validation properties error messages appears but when i add
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
for client side validation i get the client validation, i get the validation properties error messages but the validation summary does not appear any more.
What am i missing?
2 things to verify:
Html.ValidationSummaryhelper call must be inside the<form>falseas argument:@Html.ValidationSummary(false)Example: