Browsing articles tagged with " Tutorials"
Jan
23

Sexy DataTables with for Asp.Net MVC

Just thought I’d pass this little gem on as it’s saved me a lot of time (eventually) and given me a much more finished solution in the end than my hacked together attempt.  Whilst trying to produce a simple reporting app I required a table view along with pagination, sorting and  search, I went about trying to produce each individual element in MVC and had come up with a half-baked solution but it didn’t “smell right”.  Anyway whilst surfing t’interweb I came across this tutorial

http://blogs.msdn.com/paulwhit/archive/2009/03/28/walkthrough-full-example-of-using-mvccontrib-grid-with-jquery-datatable.aspx

It was a really simple way to create the exact table I wanted with out using Grids etc..  The only issue I had came from using MVCContrib the version I used needed MVC 2 so I upgraded the project by starting a fresh and cutting out a load of controllers and views etc.  All in all a much more finished attempt thanks to the great work of Allan Jardine and the MVCContrib guys.

Resources:

http://www.codeplex.com/MVCContrib

http://www.datatables.net

http://www.asp.net/mvc/

Digital Infamy

The home of Designer/Developer and all round web geek Andrew Allison. The site is basically my playground and will hopefully house my thoughts and some of my work. At the minute I'm still just playing with it to see what feels right.