This question is locked. New answers and comments are not allowed.
I would like to use the Grid(Model) aproach to auto generate all the columns into the grid, BUT I would like to then ADD and Edit template link. But if I do the template, I must manually do all the columns.Bound() for all the columns as well. Is there a way to do this?
Something like this:
Something like this:
<% Html.Telerik().Grid(Model)
.Name("Orders")
.Columns(columns =>
{
//Template column which shows an action link
columns.Template(o =>
{
%>
<%= Html.ActionLink("Edit", "Home", new { id = o.OrderID }) %>
<%
}).Title("Edit");
})
.Render();
%>