Edit this page

OnClientTaskMoveStart

The OnClientTaskMoveStart occurs when the Task moving is started.

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 return the current moved task.

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

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

See Also