I try to make a grid hierarchy. I have two grids. One of them is inside of the other. Parent grid reads the data via ajax read method. Returning json result has a field of a list. I want to use this list for populating the inner grid. But i get an error of Cannot use only server templates in Ajax or WebService binding mode. Please specify a client template as well.
I dont want the inner grid read via ajax. I want it to use the list field of returning json.
@(Html.Kendo().Grid<Customers>().Name("grid") .Scrollable().Pageable().Columns(columns =>{ columns.Bound(o => o.CompanyName); columns.Bound(o => o.ContactName);}).DetailTemplate(@<div>@(Html.Kendo().Grid<Phones>(item.Phones).Name("g" + item.ID).Scrollable().Pageable().Columns(columns =>{ columns.Bound(o => o.Number);}))</div >).DataSource(datasource => datasource .Ajax().Read(read => read.Action("GetCustomers", "Home", new { x = "asd"}))))I dont want the inner grid read via ajax. I want it to use the list field of returning json.
