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

OnClientNodeExpanded

The OnClientNodeExpanded client-side event occurs after a parent node expands to display child nodes.

Calling the client-side expand() or set_expanded(true) method does not fire OnClientNodeExpanding and OnClientNodeExpanded client-side events. More information is available here.

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 node expand.

The example below displays the text for the parent node and a count of child nodes.

ASPNET
<telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server" 
                     OnClientNodeExpanded="ClientNodeExpanded">
</telerik:RadTreeView>

See Also

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