Gantt Server Binding from ViewData/ViewBag

2 posts, 0 answers
  1. Andrei
    Andrei avatar
    1 posts
    Member since:
    Dec 2010

    Posted 18 Nov 2014 Link to this post

    First of all the Server Binding example is wrong because GanttBuilder doesn't accept a ctor with 2 parameters:
    .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?

  2. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 20 Nov 2014 Link to this post

    Hi Andrei,

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

    Dimitar Terziev

    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.

Back to Top