This question is locked. New answers and comments are not allowed.
Hi there
I get a list from my controlles that is a list of employeecalenderobjects. These objects have a nested list that holds calendarobjects.
In my Index.cshtml page i have the following code:
So i was wondering is it possible to get the nested objects in my employeelist and access those objects and get them to bound to the grid?
I get a list from my controlles that is a list of employeecalenderobjects. These objects have a nested list that holds calendarobjects.
List<EmployeeCalendar> calendarEntries = EmployeeFactory.GetAttendancePlan();@model IEnumerable<MVCRazorPoC.Models.EmployeeCalendar><table border="0" cellpadding="0" cellspacing="0"> <tr> <td> @(Html.Telerik().Grid(Model) .Name("Grid") .Columns(columns => { columns.Bound(o => o.EmpNo).Title("No"); columns.Bound(o => o.Firstname).Title("Name"); }) .DataBinding(dataBinding => { dataBinding.Server().Select("Index", "Grid"); }) ) </td> </tr></table>