DragDropManager Events are not fire?

3 posts, 0 answers
  1. Jacky
    Jacky avatar
    10 posts
    Member since:
    Dec 2015

    Posted 18 Jan Link to this post

    Hi all,


    I'm trying creating row drag drop within a radgridview.

     Register events:

    DragDropManager.AddDragOverHandler(AssociatedObject, OnDragOver);
    DragDropManager.AddDropHandler(AssociatedObject, OnDrop);
    DragDropManager.AddDragInitializeHandler(AssociatedObject, OnDragInitialize);
    DragDropManager.AddDragDropCompletedHandler(AssociatedObject, OnDragCompleted);


    I already tried with the belows, but unlucky.

    DragDropManager.AddDragOverHandler(AssociatedObject, OnDragOver, true);
    DragDropManager.AddDropHandler(AssociatedObject, OnDrop, true);
    DragDropManager.AddDragInitializeHandler(AssociatedObject, OnDragInitialize, true);
    DragDropManager.AddDragDropCompletedHandler(AssociatedObject, OnDragCompleted, true);

    But OnDragOver, OnDragCompleted are not fire, the others are fire OK.

    How can i get it works?

  2. Stefan X1
    Stefan X1 avatar
    485 posts

    Posted 21 Jan Link to this post

    Hi Jacky,

    In general, the OnDragOver and OnDragCompleted events should be fired. I suggest you taking a look at the Drag and Drop within RadGridView help topic for more information on this matter. Moreover, if you review the relevant SDK Example through the SDK Samples Browser, you should be able to observe that the two events are properly raised.

    I hope you will find the provided resources helpful.

    All the best,
    Stefan X1
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
  4. Jacky
    Jacky avatar
    10 posts
    Member since:
    Dec 2015

    Posted 25 Jan Link to this post

    Hi Stefan,

     Thanks for your reply, this is useful for me. :)

Back to Top