Must click node before dragging?

10 posts, 1 answers
  1. Tye
    Tye avatar
    18 posts
    Member since:
    Feb 2008

    Posted 17 Mar 2009 Link to this post

    Hello. I've searched the forums for this issue, but couldn't find it, so either it's not there or I'm not searching using the right keywords. In any case, if this is answered somewhere else, I apologize in advance.

    I've been having an issue with dragging nodes from the RadTreeView. I tested using the online sample here:

    http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx

    And the issue is there, as well, so I'm pretty confident it's not something I'm doing wrong. The issue is this: when you drag a node from the tree, you have to select it first before dragging it. Otherwise, you'll be dragging the contents of what was previously selected. In the sample above, here are the steps to reproduce:

    In RadTreeView1, select "Personal Folders" and drag it to the TextBox in the third column. This should work as expected. Now, select "Drafts" and drag it to the TextBox. This works if you select it and THEN drag it, but not if you try to do it all in one motion. In other words, click on Drafts, and before letting go, drag it to the TextBox. Notice that you're still dragging "Personal Folders" because the selection in the tree didn't actually change before the drag started. I've tried to work around this using the OnNodeClicking event and selecting/highlighting the node clicked on, but it doesn't help.

    Any ideas? Seems like a bug to me, but could be by-design. Any known workarounds?

    Thanks,
    Tye
  2. Jeremy Ruggaber
    Jeremy Ruggaber avatar
    3 posts
    Member since:
    Nov 2008

    Posted 18 Mar 2009 Link to this post

    I am also experiencing this problem.~26nbsp~3b It seems new with the Q12009 release.~3cbr /~3e
  3. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 19 Mar 2009 Link to this post

    Hi guys,

    We discovered the problem right after the release and already fixed it. Please download the latest internal bits from your account.

    We really apologize for the caused inconvenience.

    Regards,
    Veselin Vasilev
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  4. Tye
    Tye avatar
    18 posts
    Member since:
    Feb 2008

    Posted 19 Mar 2009 Link to this post

    That fixed it. You guys are awesome..thanks!
  5. Matthew
    Matthew avatar
    7 posts
    Member since:
    May 2008

    Posted 22 Mar 2009 Link to this post

    FYI, this bug even exists on the Demo on your site:
    http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx
  6. Jeremy Ruggaber
    Jeremy Ruggaber avatar
    3 posts
    Member since:
    Nov 2008

    Posted 23 Mar 2009 Link to this post

    I appreciate that there is a dev build out that fixes this issue however due to our current development schedule we are not comfortable with using a dev release. Is there a timetable on this which we could expect a hotfix to the production build or a new production release~3f
  7. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 23 Mar 2009 Link to this post

    Hello Jeremy Ruggaber,

    The hotfix will be incorporated in the SP1 release which is due next week.

    Kind regards,
    Albert
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  8. Jeremy Ruggaber
    Jeremy Ruggaber avatar
    3 posts
    Member since:
    Nov 2008

    Posted 23 Mar 2009 Link to this post

    Thanks for all the hard work guys
  9. Kevin Warnke
    Kevin Warnke avatar
    98 posts
    Member since:
    Dec 2005

    Posted 01 Apr 2009 Link to this post

    I also noticed that right-clicking and using the context menu requires clicking the node first to select it and then right-clicking in order to get the right node in the events.  Is this also going to be fixed in the SP?

    Thanks,
    Kevin
  10. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 02 Apr 2009 Link to this post

    Hi Kevin Warnke,

    I could not reproduce the problem in our Context Menu online demo.
    Can you share the code that you use to reproduce the problem please?

    Sincerely yours,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top