New to Telerik UI for ASP.NET AJAX? Start a 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.
ASPNET
<telerik:RadMenu RenderMode="Lightweight" ID="RadMenu1" runat="server">
<ItemTemplate>
<telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server">
</telerik:RadTreeView>
</ItemTemplate>
</telerik:RadMenu>