Click here to Skip to main content
11,701,855 members (44,011 online)
Click here to Skip to main content
Articles » Web Development » Ajax » Samples » Revisions
Add your own
alternative version

Data Validation Using Annotations for jQuery AJAX Calls in MVC Applications

, 4 Jul 2011 CPOL 51.5K 1.5K 33
This article presents an example of how to use data annotations to validate data received from jQuery AJAX calls and how to send validation result as well as HTML content from a partial view to the client in a JSON object in MVC.

Revisions


  

Compare Revision Minor Date Status Editor
39 - publicly available Yes 27-Jul-11 15:56 Available Smitha Vijayan
38 No 27-Jul-11 15:54 Available Smitha Vijayan
36 No 26-Jun-11 21:22 Available Dr. Song Li
33 No 26-Jun-11 21:06 Composing Dr. Song Li
32 No 26-Jun-11 20:39 Composing Dr. Song Li
28 No 26-Jun-11 19:19 Composing Dr. Song Li
27 No 26-Jun-11 18:33 Composing Dr. Song Li
26 No 26-Jun-11 18:00 Composing Dr. Song Li
25 No 26-Jun-11 17:25 Composing Dr. Song Li
24 No 26-Jun-11 17:20 Composing Dr. Song Li
23 No 26-Jun-11 17:18 Composing Dr. Song Li
20 No 26-Jun-11 16:35 Composing Dr. Song Li
19 No 26-Jun-11 16:13 Composing Dr. Song Li
18 No 25-Jun-11 23:49 Composing Dr. Song Li
14 No 25-Jun-11 23:25 Composing Dr. Song Li
12 No 25-Jun-11 23:18 Composing Dr. Song Li
11 No 25-Jun-11 23:02 Composing Dr. Song Li
9 No 25-Jun-11 22:51 Composing Dr. Song Li
8 No 25-Jun-11 22:38 Composing Dr. Song Li
7 No 25-Jun-11 22:32 Composing Dr. Song Li
6 No 25-Jun-11 22:18 Composing Dr. Song Li
5 No 25-Jun-11 21:45 Composing Dr. Song Li
4 No 25-Jun-11 21:40 Composing Dr. Song Li
3 No 25-Jun-11 20:04 Composing Dr. Song Li
2 No 25-Jun-11 17:23 Composing Dr. Song Li
1 No 25-Jun-11 17:20 Composing Dr. Song Li

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Dr. Song Li
United States United States
I have been working in the IT industry for some time. It is still exciting and I am still learning. I am a happy and honest person, and I want to be your friend.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 4 Jul 2011
Article Copyright 2011 by Dr. Song Li
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid