DragStarted firing twice

2 posts, 0 answers
  1. fred williams
    fred williams avatar
    55 posts
    Member since:
    Feb 2010

    Posted 03 May 2011 Link to this post

    I'm trying to store the values of the headers of dragged items into a generic list. It appears to be happening twice.

    tvDirectoryDragStarted(object sender, RadTreeViewDragEndedEventArgs e)
         for(int i = 0;i<e.DraggedItems.Count;i++)
                RadTreeViewItem item = (RadTreeViewItem)e.DraggedItems[i];

    _fileQueue is just a generic list I instantiate at runtime. The method is iterating through the dragged items twice though. I set a breakpoint and stepped through it, and it looks like the method is just firing twice. What could be the cause of this? I'm dragging the items into another RadTreeView, but I haven't wired any event handlers to it if that helps. 
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 06 May 2011 Link to this post

    Hi fred williams,

    I tested your scenario on our side but unfortunately I wasn't able to reproduce it. This is why I wanted to ask you to take a look at the test project I attached and let me know if I am missing something? Thank you in advance.

    Tina Stancheva
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top