New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnClientNodeDropped

The OnClientNodeDropped client-side event is called after node(s) are dropped.

The event handler receives parameters:

  1. The TreeView instance that fired the event.

  2. Event arguments with functions:

  • get_sourceNode() retrieves the node being dropped. When the RadTreeView MultipleSelect property is True, get_sourceNode() refers to the first node selected.

  • get_sourceNodes() retrieves an array of nodes being dropped if the RadTreeView MultipleSelect property is True.

  • get_domEvent() retrieves a DOM event object of the node dropping.

The example below displays information for the dropped source nodes.

ASPNET
<telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" 
                     runat="server" 
                     EnableDragAndDrop="true" 
                     MultipleSelect="true"
                     OnClientNodeDropped="ClientNodeDropped">
</telerik:RadTreeView>

See Also

In this article
See Also
Not finding the help you need?
Contact Support