Client Validation Example

13 views
Skip to first unread message

Rajendra Prasad

unread,
Dec 15, 2010, 12:03:40 AM12/15/10
to c4...@googlegroups.com
Hi friends,

this is rajendra prasad.

currently i am woking on asp.net mvc 1.0

i need client validation example can any one provide with complete details.

thanks in advance.

Valentin Plamadeala

unread,
Dec 15, 2010, 3:03:36 AM12/15/10
to c4...@googlegroups.com
on mvc1 use xval http://xval.codeplex.com/

there's a blogpost for it

basically you reference it add the jquery.validate.js
xval.validate.js, data annotations on your viewmodel and you call a
helper (Html.ClientSideValidation<ViewModel>()) near your <form>

> --
> You received this message because you are subscribed to the "Community for
> ASP.NET MVC" group.
>
> To post to this group, send email to c4...@googlegroups.com
>
> To unsubscribe from this group, send email to
> c4mvc+un...@googlegroups.com
> For more options, visit this group at
> http://CommunityForMvc.Net

Vinny Brown

unread,
Dec 15, 2010, 8:42:43 AM12/15/10
to c4...@googlegroups.com
You could always use the jQuery validate plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/

Rajendra Prasad

unread,
Dec 16, 2010, 1:10:44 AM12/16/10
to c4...@googlegroups.com
thanks for quick response.

let me check it.
Reply all
Reply to author
Forward
0 new messages