Edit this page

OnClientDoubleClick

The OnClientDoubleClick client-side event occurs when the end user double-clicks a node.

The event handler receives parameters:

  1. The TreeView instance that fired the event.

  2. Event arguments with functions:

  • get_node() retrieves a reference to the clicked on node.

  • get_domEvent() retrieves a DOM event object of the double click.

The example below displays the text for the double-clicked node.

<telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server" OnClientDoubleClick="ClientDoubleClick">
</telerik:RadTreeView>
function DoubleClick(sender, eventArgs) {
    var node = eventArgs.get_node();
    alert("You double clicked " + node.get_text());
}

See Also