I have a custom template for editing a scheduler event. In that template I have a grid to edit an array that is part of my model:
@(Html.Kendo().Grid<Excent.Apps.Web.Solo.Models.MeetingStudentViewModel>(Model.Students)
.Name("StudentsGrid")
.Columns(columns =>
{
columns.Bound(m => m.MeetingStudentID).Hidden();
columns.Bound(m => m.FullName).Title("Student");
columns.Bound(m => m.Goals);
})
.BindTo(Model.Students)
.DataSource(dataSource => dataSource
.Ajax().ServerOperation(false)
.Model(model => model.Id(p => p.MeetingStudentID))
.Model(model => model.Field(o => o.FullName))
.Model(model => model.Field(o => o.Goals))
)
When I display the template the grid is empty.