1.pros: the form can be validated without processing by server
2.Add the section called scripts which contains jQueryval to cshhtml file after adding validation:
@section scripts { @Scripts.Render("~/bundles/jqueryval") }
Last updated 5 years ago