I am populating a gannt chart dynamically by looping through the tasks from a table. Some of these tasks have a parent-child relationship which I would like to show as dependencies on the gannt chart. I’ve found examples on these pages http://www.telerik.com/help/silverlight/radganttview-populating-with-data-viewmodel.html and http://www.telerik.com/help/silverlight/radganttview-features-items-relations.html which shows how to set up dependencies. However in these examples the parent tasks are hardcoded as variables. Are there any examples of how to do this dynamically ?
I presume as I’m looping through the collection I’ll have to find some way of referencing the relevant previous task item in the collection and add it as a dependency. However as I’m new to this and picking up someone else’s code it would be really handy if there was an example
Thanks in advance for any help