Skip to main content
A newer version of this page is available. .

GanttTaskResourceAssignmentMappingInfo.TaskKey Property

Specifies the name of the data field that contains information on the task ID.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("TaskID")]
public string TaskKey { get; set; }

Property Value

Type Default Description
String "TaskID"

A data field name.

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" Width="100%" KeyFieldName="ID" ParentFieldName="ParentID" ...>
    <Mappings>
        <ResourceAssignment Key="ID" TaskKey="TaskID" ResourceKey="ResourceID" />
        //...
    </Mappings>
    ...
</dx:ASPxGantt>

Concept

Bind To Data

Online Demos

See Also