This question is locked. New answers and comments are not allowed.
@(Html.Telerik().Grid(Model) .Name("Grid") .Columns(column => { column.Bound(a => a.Date).Title("Skapat").Format("{0:yyyy/MM/dd}"); column.Bound(a => a.Code).Title("Nr").Width(100); column.Bound(a => a.Caption).Title("Ärenden"); column.Bound(a => a.CreatorCaption).Title("Anmälaren"); }) .DetailView(detailView => detailView.Template(e => { Html.Telerik().TabStrip() .Name("TabStrip") .SelectedIndex(0) .Items(items => { items.Add().Text("Ärenden").Content(@e.Caption); items.Add().Text("Anmälare").Content(@e.CreatorCaption); items.Add().Text("Skapat").Content(@e.Date.ToString()); }) .Render(); } )) .RowAction(row => { if (row.Index == 0) { row.DetailRow.Expanded = true; } }) .Sortable() .Pageable(pager => { pager.Style(GridPagerStyles.NextPreviousAndDropDown | GridPagerStyles.Numeric); //pager.Style(GridPagerStyles.PageInput); }))Hi,
I have followed the demo http://demos.telerik.com/aspnet-mvc/razor/grid/detailsserverside?theme=windows7to construct my grid with detail view but its not really working for me. The detail view is not in the grid but outside and It shows only the first row when I clicked on the tabs.Here is my code . I attached also the result I got as a picture.Thanks
Bao Hoang