Edit this page

OnClientTaskMoveEnd

The OnClientTaskMoveEnd occurs when the Task moving is ended.

The event handler receives two parameters:

  1. The instance of the Gantt control firing the event.

  2. An eventArgs parameter containing the following methods:

  • get_task returns the current moved task.

  • get_start returns the start time of the current task.

  • set_cancel lets you cancel the event and prevent the task moving.

  • get_cancel returns true if the event has been canceled.

<telerik:RadGantt RenderMode="Lightweight" runat="server" id="RadGantt1" OnClientTaskMoveEnd="OnClientTaskMoveEnd">
</telerik:RadGantt>
function OnClientTaskMoveEnd(sender, eventArgs) {
    args.set_cancel(true);
}

See Also