This is a migrated thread and some comments may be shown as answers.

Drag drop event in Gantt Grid

1 Answer 52 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Prolay
Top achievements
Rank 1
Prolay asked on 11 Dec 2012, 02:31 PM
Hi,

When we rearrange tasks using the drag- drop feature. After the drop i need to save the rearranged tasks to the database, which event should i handle for this.



Thanks & Regards,
Prolay

1 Answer, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 17 Dec 2012, 03:53 PM
Hi Prolay,

 
I would suggest setting a custom DragDropBehavior for RadGanttView control. You could inherit the GanttDragDropBehavior and override the Drop method:

protected override void Drop(Telerik.Windows.Controls.Scheduling.SchedulingDragDropState state)
{
    base.Drop(state);
    // save the rearranged tasks to the database.
}

Hope this helps.

Kind regards,
George
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GanttView
Asked by
Prolay
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or