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

Must click node before dragging?

9 Answers 92 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Tye
Top achievements
Rank 1
Tye asked on 17 Mar 2009, 07:57 PM
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

9 Answers, 1 is accepted

Sort by
0
Jeremy Ruggaber
Top achievements
Rank 1
answered on 18 Mar 2009, 05:06 PM
I am also experiencing this problem.~26nbsp~3b It seems new with the Q12009 release.~3cbr /~3e
0
Accepted
Veselin Vasilev
Telerik team
answered on 19 Mar 2009, 03:09 PM
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.
0
Tye
Top achievements
Rank 1
answered on 19 Mar 2009, 03:32 PM
That fixed it. You guys are awesome..thanks!
0
Matthew
Top achievements
Rank 1
answered on 23 Mar 2009, 03:33 AM
FYI, this bug even exists on the Demo on your site:
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx
0
Jeremy Ruggaber
Top achievements
Rank 1
answered on 23 Mar 2009, 01:11 PM
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
0
Atanas Korchev
Telerik team
answered on 23 Mar 2009, 01:45 PM
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.
0
Jeremy Ruggaber
Top achievements
Rank 1
answered on 23 Mar 2009, 01:45 PM
Thanks for all the hard work guys
0
Kevin Warnke
Top achievements
Rank 1
answered on 01 Apr 2009, 06:01 PM
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
0
Veselin Vasilev
Telerik team
answered on 02 Apr 2009, 07:33 AM
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.
Tags
TreeView
Asked by
Tye
Top achievements
Rank 1
Answers by
Jeremy Ruggaber
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Tye
Top achievements
Rank 1
Matthew
Top achievements
Rank 1
Atanas Korchev
Telerik team
Kevin Warnke
Top achievements
Rank 1
Share this question
or