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