Click here to Skip to main content
11,710,423 members (87,446 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# HTML5 MVC3
I want to show data in tabular format in view where i am using MVC3.
I also want to used html5 data grid element..
For view i am using how can i show there any control like data grid in html 5 or any example where i can refer.

thank you
Posted 2-Oct-11 21:44pm
Edited 2-Oct-11 22:39pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

With MVC you can render a simple HTML table in your view and use something like jQuery's DataTables plugin to provide paging, sorting etc.[^]

There's a good CP article on this topic too:

jQuery DataTables and ASP.NET MVC Integration - Part I[^]
vishal_h at 3-Oct-11 4:39am
by using HTML5 is there any same example
jim lahey at 3-Oct-11 10:30am
You can make it pass HTML 5 validation:

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 549
1 OriginalGriff 260
2 Peter Leow 134
3 Abhinav S 130
4 Richard MacCutchan 90
0 Abhinav S 60
1 Member 4653839 40
2 barneyman 35
3 Sergey Alexandrovich Kryukov 35
4 Member 11793820 35

Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 3 Oct 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100