MvcContrib Grid Presentation
April 28, 2010 – 19:14
Today I did a presentation for the C4mvc virtual usergroup on the MvcContrib grid component.
In the presentation I covered basic grid usage, auto-generated columns, paging, sorting and extensibility using custom grid renderers.
The sample code that I used in the presentation is available here. The video for the talk is available on viddler.
7 Responses
Great presentation! I certainly learned a lot of MVC Contrib tricks in your video. I am going to have to include some of these in my MVC Cookbook (http://groups.google.com/group/aspnet-mvc-2-cookbook-review) – with some serious reverence tossed your way.
Thanks for your efforts!
Andy
Great Jeremy! I love your step-by-step demonstration, the only way to learn something efficiently
Keep up the good work,
Roland
Hi Jeremy,
thanks for nice grid for mvc, but what about some (maybe automatic) filters for grid? In real world apps filtering of grid is really necessery..
Hi Jeremy,
your demonstration was very helpfull and I like the GridControl very much
Thanks a lot!
Johannes
Petr,
The built in functionality for the grid is intentionally limited – its focus is solely on rendering data.
Performing filtering is not really a UI concern, and as such should be something performed by your controller (or a service layer) rather than by the grid itself.
Hi Jeremy,
The article was very helpful. Although I was wondering, what is one needs search criterias in the grid. Diplay subset of records only kind of thing; do you have implemented such functionality???
Thanks,
Rahul.
Hi Rahul,
Typically you would implement this by adding a filtering form to the page that posts to the same action used to render the grid. Your controller action would perform the appropriate filtering and then pass the pre-filtered data to the grid to render.