In the OnClientNodeDragging event, is it possible to determine the target parent node when dragging in between nodes?
1 Answer, 1 is accepted
0
Kate
Telerik team
answered on 13 May 2013, 09:46 AM
Hi Kern,
The OnClientNodeDragging event occurs very early and at the moment when the dragging of the node starts (when this event fires) it can not be determined which will be the destination node so that you can get a reference to it. However, using the OnClientNodeDropping event you can easily access the parent node of the destination node by using the following code:
args.get_destNode().get_parent();
All the best,
Kate
the Telerik team
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 their blog feed now.