Skip to main content

ASPxGantt.ResourceAssignmentsDataSource Property

Specifies the data source from which the Gantt retrieves resource assignments.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v23.1.dll

NuGet Package: DevExpress.Web


public virtual object ResourceAssignmentsDataSource { get; set; }

Property Value

Type Default Description
Object null

The data source object.


The following example illustrates how to connect the Gantt control to the specified data tables or lists in the data sources programmatically.

protected void Page_Init() {

    ASPxGantt gantt = new ASPxGantt();
    gantt.ID = "ASPxGantt1";

    gantt.TasksDataSource = "TasksDataSet";
    gantt.DependenciesDataSource = "DependenciesDataSet";
    gantt.ResourcesDataSource = "ResourcesDataSet";
    gantt.ResourceAssignmentsDataSource = "ResourceAssignmentsDataSet";

    gantt.TasksDataMember = "Tasks";
    gantt.DependenciesDataMember = "Dependencies";
    gantt.ResourcesDataMember = "Resources";
    gantt.ResourceAssignmentsDataMember = "ResourceAssignments";

See Also