This example shows how set the server-side row template of the grid. The row template allows you to customize the way the entire row is presented in the grid. Server-side row templates are used in server binding scenarios.
To set the server-side template use the RowTemplate method.
<%= Html.Telerik().Grid<EditableCustomer>()
.Name("Grid")
.RowTemplate((c, grid) =>
{
%>
<div class="employee-details">
<img src='<%= Url.Content("~/Content/Grid/Customers/" + c.CustomerID + ".jpg") %>' alt='<%= c.ContactName %>' />
<ul>
<li><label>Name:</label><%= c.ContactName %></li>
<li><label>Country:</label><%= c.Country %></li>
<li><label>Address:</label><%= c.Address %></li>
</ul>
</div>
<%= grid.EditButton(c) %> <%= grid.DeleteButton(c) %>
<%
}
)
%>