This is a migrated thread and some comments may be shown as answers.

Gantt Server Binding from ViewData/ViewBag

1 Answer 82 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Andrei
Top achievements
Rank 1
Andrei asked on 18 Nov 2014, 07:40 AM
First of all the Server Binding example is wrong because GanttBuilder doesn't accept a ctor with 2 parameters:
@(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

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 20 Nov 2014, 07:14 AM
Hi Andrei,

Please try the Q3 release of the Kendo UI which has just been released. This functionality is included there.

Regards,
Dimitar Terziev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Gantt
Asked by
Andrei
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or