ASPxClientGanttTaskInsertedEventArgs Class
Contains data for the TaskInserted event.
Declaration
declare class ASPxClientGanttTaskInsertedEventArgs extends ASPxClientEventArgs
Remarks
Web Forms:
<dx:ASPxGantt ID="Gantt" >
<ClientSideEvents TaskInserted="function(s, e) {
e.values["Subject"] = "Custom Task Name";
}" />
</dx:ASPxGantt>
MVC:
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
settings.ClientSideEvents.TaskInserted = "function (s, e) {
e.values["Subject"] = "Custom Task Name";
}";
...
}).Bind(
GanttDataProvider.Tasks, GanttDataProvider.Dependencies,
GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
Concepts
Inheritance
ASPxClientEventArgs
ASPxClientGanttTaskInsertedEventArgs
See Also