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

LoadonDemand with Webservice and Drag&Drop

5 Answers 72 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 14 Jan 2009, 12:56 PM
Hi,
I am using a treeView with LoadonDemand using a webservice-method. And I want to do drag&drop.
- When I drag a node and insert it into a node that has been already expanded it works perfect (I think after expanding a node once, it gets the ExpandMode = clientside).
- When I drag a node and hover the targetNode, wait till it has expanded and then release the mouse button to complete the drag and drop process, it works (because the targetNode is expanded now).
- When I drag a node onto a targetNode and release the mouse button before the targetNode has been expanded I get an script Error.

Can someone help me out here?

5 Answers, 1 is accepted

Sort by
0
Mallverkstan
Top achievements
Rank 2
answered on 20 Jan 2009, 10:49 AM
Are you using the ClientNodeDropping or some other event? ClientNodeDropping works well for me, so try that if you are using a different event such as ClientNodeDropped. If you are already using ClientNodeDropping, try a different event.

Regards,
Fredrik
Mallverkstan

0
Jonas Toft Christensen
Top achievements
Rank 1
answered on 01 Apr 2009, 12:25 PM
Did you resolve this? Im experiencing the same issue now.
0
Yana
Telerik team
answered on 01 Apr 2009, 01:47 PM
Hi Jonas,

I tested the scenario with our latest official release Q1 2009 and wasn't able to reproduce this issue. Which version of the controls you're using?

Regards,
Yana
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Antony
Top achievements
Rank 1
answered on 12 Aug 2013, 02:38 PM
HI support

We are using version 2013.1.403.35 and I can reproduce the error, the javascript errors because the target node 'y' does not have a "get_element()" method, this is the javascript call 'y.get_element().appendChild(k)'
y does however have a set_element() method.

Has this been fixed in the latest release?

Thanks
Antony
0
Plamen
Telerik team
answered on 13 Aug 2013, 11:27 AM
Hello,

 
As it is mentioned in the previous post of the thread we were not able to reproduce the issue so far. Would you please share the exact code and the steps that will help us observe it locally so we could be more helpful with further information.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
TreeView
Asked by
Christian
Top achievements
Rank 1
Answers by
Mallverkstan
Top achievements
Rank 2
Jonas Toft Christensen
Top achievements
Rank 1
Yana
Telerik team
Antony
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or