MVC2 ValidationSummary and Client side Validation
Posted
by Raj Aththanayake
on Stack Overflow
See other posts from Stack Overflow
or by Raj Aththanayake
Published on 2010-04-14T04:50:45Z
Indexed on
2010/04/14
4:53 UTC
Read the original article
Hit count: 585
asp.net-mvc-2-validation
Hi
I want to have the ValidationSummary errors displayed during Client Side validation. Currently the validation messages are only appears next to the field during client side validation. I use….
- MicrosoftAjax.js
- MicrosoftMvcAjax.js
- MicrosoftMvcValidation.js
as my client side libraries.
There is a solution for jQuery Validation Library which is in the thread… http://stackoverflow.com/questions/1724790/asp-net-mvc-validationsummary-for-client-side-validation
Is there an easy way to do this?
I used had xVal working DataAnnotation and it was very easy enable client side validation for the validation summary.
E.g <%= Html.ClientSideValidation().UseValidationSummary("validationSummary", “Validation Errors”)%>
Is there way to do this in MVC2 using MicrosoftAjax?
© Stack Overflow or respective owner