Drag drop event in Gantt Grid

2 posts, 1 answers
  1. Prolay
    Prolay avatar
    27 posts
    Member since:
    Nov 2012

    Posted 11 Dec 2012 Link to this post

    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
  2. Answer
    George
    Admin
    George avatar
    1332 posts

    Posted 17 Dec 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top