Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Populating Gantt with custom Provider

$
0
0
Hi,

The sent code indicates that on the server no Tasks are populated in the Gantt control. This can be caused by a couple of reasons:
1. No tasks are returned from the GetTasks method.
2. The returned tasks don't contain any root tasks. In the returned task collection there should be at least one root task (the ParentID property should be null).

You can check in the code behind whether the tasks are populated with the following code:
RadGantt1.DataBind();
var tasksCount = RadGantt1.Tasks.Count;


Regards,
Bozhidar
Telerik

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>