ASPxClientGantt.TaskInserted Event
Occurs after a user inserted a task.
Declaration
TaskInserted: ASPxClientEvent<ASPxClientGanttTaskInsertedEventHandler<ASPxClientGantt>>
Event Data
The TaskInserted event's data class is ASPxClientGanttTaskInsertedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
key | Specifies the task key. |
values | Specifies the task values. |
Remarks
Use the TaskInserted event to process task data when a task is inserted.
<dx:ASPxGantt ID="Gantt" >
<ClientSideEvents TaskInserted="onGanttTaskInserted" ... />
</dx:ASPxGantt>
function onGanttTaskInserted(s, e) {
e.values["Subject"] == "Custom Task Name";
}
Concepts
See Also