Skip to main content


A task is a unit of work. On the Gantt chart, it displays the following information:

  • Task title.

  • Duration (start and end dates).

  • Task progress.

  • Associated dependencies that specify relationships between tasks.

  • Associated resources.

Gantt - Task

A large task can be divided into subtasks that allow you to track the progress.

Gantt - Subtask

A milestone is a task with the same start and endpoint. Milestones can be used as checkpoints for important points in a project.

Gantt - Milestone

The Gantt gets data for tasks from a data source (TasksDataSourceID). Use the Task object to specify which fields in the data source correspond to task properties.

<dx:ASPxGantt ID="Gantt" runat="server" TasksDataSourceID="TasksDataSource" ... >
        <Task Key="ID" ParentKey="ParentID" Title="Subject" Start="StartDate" 
        End="EndDate" Progress="PercentComplete" Color="Color" />

<asp:SqlDataSource ID="TasksDataSource" runat="server" 
ConnectionString='<%$ ConnectionStrings:DevelopmentGanttConnectionString %>' 
SelectCommand="SELECT * FROM [Tasks]" />

Run Demo: ASPxGantt Introduction

See Also

See Also