Edit this page

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 %>');  
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article