Building a Data Grid in ASP.NET MVC

added by ali62b
2/15/2010 10:14:19 AM


In this post I’m going to show how you can build a Data Grid in ASP.NET MVC which has the sorting and paging features while you have enough control over the generated HTML and more important you do this in a testable manner. And also you have bookmarking feature which is useful when user likes to share a specific page of the sorted data just by copying and pasting the URL from browser’s address bar. We avoid using JavaScript for this so the users which often disable JavaScript in their browser don’t miss anything.