This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to use an MVC datagrid embedded in a parent datagrid. It is shown when drilling down into a row. I followed the template on the website, but I cannot get it to work. The child datagrid is not sending any AJAX requests. I tried also using a dummy method in the controller that doesn't take any parameters to see if that was the issue, and that was not called either.
Thanks for any help.
I'm trying to use an MVC datagrid embedded in a parent datagrid. It is shown when drilling down into a row. I followed the template on the website, but I cannot get it to work. The child datagrid is not sending any AJAX requests. I tried also using a dummy method in the controller that doesn't take any parameters to see if that was the issue, and that was not called either.
Thanks for any help.
@{ Html.Telerik() .Grid<NotesItem>() .Name("NotesGrid") .DetailView(details => details.ClientTemplate(Html.Telerik() .Grid<VersionInformation>() .Name("Documents_<#= Path #>") .DataBinding(dataBinding => dataBinding.Ajax().Select("GetDocumentVersionHistoryAjax", "Home")), new { path = "<#= Path #>" })) .Columns(columns => { columns.Bound(o => o.Url); columns.Bound(o => o.CreatedBy).Title("Changes By"); columns.Bound(o => o.CreatedDate).Format("{0:MM/dd/yyyy}"); columns.Bound(o => o.VersionId); }) .Pageable() .Sortable() .ToHtmlString() )) .DataBinding(dataBinding => dataBinding.Ajax().Select("GetDocumentDataAjax", "Home")) .Columns(columns => { columns.Bound(o => o.CheckedOutTo).Width(200).Title("Checked Out"); columns.Bound(o => o.Name).Title("Document"); columns.Bound(o => o.CreatedBy).Format("{0:MM/dd/yyyy}").Width(120); columns.Bound(o => o.Version).Width(100).Title("Last Check In Comment"); }) .Groupable() .Sortable() .Pageable() .Filterable() .Render() ; }