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

Dependency

The following article describes the Dependencies between tasks and how they can be managed.

Dependency Type

A dependency represents a relation between two components. The direction of the arrow indicated which component is dependent on the other. They could be created, deleted or customized from the Timeline area, in each of the views - Day, Week, Month and Year. You could use dependencies, in order to link the tasks and thus create the work-flow for a given summary task.

Dependency TypeExampleDescription
Finish to Start (FS)gantt-structure-dependencies-fsThe task cannot start before its predecessor task ends, although it may start later.
Start to Start (SS)gantt-structure-dependencies-ssThe task cannot start until the predecessor task starts, although it may start later.
Finish to Finish (FF)gantt-structure-dependencies-ffThe task cannot end before the predecessor task ends, although it may end later.
Start to Finish (SF)gantt-structure-dependencies-sfThe task cannot end before the predecessor task starts, although it may end later.

Dependency Properties

The table below demonstrates some general properties of the Dependency object.

NameTypeDescription
IDobjectGets or sets Dependency ID.
PredecessorIDobjectGets or sets pointer to the predecessor GanttTask using its ID.
SuccessorIDobjectGets or sets pointer to the successor GanttTask using its ID.
TypeTelerik.Web.UI.Gantt.DependencyType enumerationGets or sets the type of the Dependency.

Dependency Methods

The table below shows the publicly accessible methods of the Dependency object.

MethodParametersReturn typeDescription
GetDatanoneSystem.Collections.Specialized.IOrderedDictionaryReturns the Dependency data as an OrdrederDictionary.
LoadFromDictionarySystem.Collections.IDictionaryvoidLoads the Dependency data from a Dictionary.

See Also