New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

GanttDependency Object

The following table lists the most important methods of the GanttDependency client-side object:

 

NameParametersReturn TypeDescription
get_idnonestringGets the id of the dependency. See Example 1.
get_predecessorIdnonestringGets the id of the predecessor task.
get_successorIdnonestringGets the id of the successor task.
get_typenoneTelerik.Web.UI.GanttDependencyTypeGets the type of the dependency.

 Example 1: Get the id of the first dependency in the Gantt's DependencyCollection.

JavaScript
var gantt = $find("<%= RadGantt1.ClientID %>");
var firstDependency = gantt.get_dependencies().getDependency(0); 	
var id = firstDependency.get_id();	 

See Also

In this article
See Also
Not finding the help you need?
Contact Support