First of all the Server Binding example is wrong because GanttBuilder doesn't accept a ctor with 2 parameters:
@(Html.Kendo()
.Gantt<TaskViewModel, DependencyViewModel>(
)
I'm trying to pass 2 collections (set by the controller in the ViewData/ViewBag properties) as DataSources or DependencyDataSources for the Gantt control.
Any idea how to do that?
Thanks,
Andrei
@(Html.Kendo()
.Gantt<TaskViewModel, DependencyViewModel>(
(IEnumerable<
TaskViewModel
>)ViewData["tasks"], (IEnumerable<
DependencyViewModel
>)ViewData["dependencies"]
I'm trying to pass 2 collections (set by the controller in the ViewData/ViewBag properties) as DataSources or DependencyDataSources for the Gantt control.
Any idea how to do that?
Thanks,
Andrei