New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Accessing a RadTreeView Embedded in Another Control

To find a RadTreeView client-side instance when embedded in another control, use server side functionality to locate the RadTreeView ClientID. In the following example the RadTreeView is embedded in a RadMenu item template.

<telerik:RadMenu RenderMode="Lightweight" ID="RadMenu1" runat="server">
        <telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server">
var tree = $find('<%=RadMenu1.Items[0].FindControl("RadTreeView1").ClientID %>');  
In this article