Thursday, March 11, 2010

Working with the Grid for ASP.NET MVC

One of the main "challenges" in making a switch from ASP.NET WebForms to ASP.NET MVC is- or rather has been- the lack of a functional data grid. There are many examples showing you how to use a different views for reading and editing data in MVC, but few that show the true "grid experience," where data review and editing can occur in a single view.

Enter the Grid for MVC in the Telerik Extensions for ASP.NET MVC, and specifically the new data editing features in the Q1 2010 release.
With the Telerik Grid (which is open source, by the way), you can easily perform core data grid operations connected to MVC controller action methods. Things like sorting, filtering, paging, and now grouping and editing are a simple matter of configuration. To help you get started quickly with these features, I've created six new videos that you can find on Telerik TV:
  1. Getting Started with Grid Data Binding
  2. Configuring Grid Ajax Data Binding
  3. Configuring Grid Web Service Data Binding
  4. Getting Started with Grid Data Editing
  5. Data Editing with Ajax
  6. Getting Started with Grid Columns
These videos will guide you to a complete understanding of MVC Grid data binding and data editing, both "server-side" (in other words, using HTTP GETs) and using AJAX (or, binding to JsonResults). Enjoy!