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:
Regards,
Bozhidar
Telerik
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