Telerik just released an extremely impressive
library of components (Grid, Menu, TabStrip, and MenuBar), written for MVC. They are truly first-class, from the architecture, to the development experience, to the finished screens that your user sees. They released them as open-source, and even better, these controls are written from the ground up to support ASP.NET MVC.
Be sure to check out this awesome write up on how to
Use the grid in a CRUD scenario. Very nicely done.
I'm not a fan of the whole "Edit/Delete" action column. I'd much rather just have a link on the column to take me to the detail screen. Here's the way I solved that:
<% Html.Telerik().Grid(Model)
.Name("Grid")
.PrefixUrlParameters(false)
.Columns(columns =>
{
columns.Add(o => o.CollectionDate).Template(c => { %>
<%= Html.ActionLink(c.CollectionDate.ToShortDateString(), "View", new { Id = c.Id })%> <%
}).Width(40);
columns.Add(o => o.Location.Name).Width(40);
})
.Scrollable()
.Sortable()
.Pageable()
.Filterable()
.Render();
%>