This question is locked. New answers and comments are not allowed.
Hi
Is there a way to use ClientTemplate in the DetailView grid in the hierarchy ?
some thing like the code marked at bold (from the demo view page ):
Is there a way to use ClientTemplate in the DetailView grid in the hierarchy ?
some thing like the code marked at bold (from the demo view page ):
<%= Html.Telerik().Grid<EmployeeViewModel>()Thanks Kobo
.Name("Employees")
.Columns(columns =>
{
columns.Bound(e => e.FirstName).Width(140);
columns.Bound(e => e.LastName).Width(140);
columns.Bound(e => e.Title).Width(200);
columns.Bound(e => e.Country).Width(200);
columns.Bound(e => e.City);
})
.ClientEvents(events => events.OnRowDataBound("employees_onRowDataBound"))
.DetailView(details => details.ClientTemplate(
Html.Telerik().Grid<OrderViewModel>()
.Name("Orders_<#= EmployeeID #>")
.Columns(columns =>
{
columns.Bound(o => o.OrderID).Width(101);
columns.Bound(o => o.ShipCountry).Width(140);
columns.Bound(o => o.ShipAddress).Width(200);
columns.Bound(o => o.ShipName).Width(200).ClientTemplate("<B><#= ShipName #><B>");
columns.Bound(o => o.ShippedDate).Format("{0:d}");
})
...