I have the following problem, I have this code:
<telerik:RadSplitter ID="Radsplitter5" runat="server" Height="655px" Width="100%"
Skin="Office2010Black">
<telerik:RadPane ID="Radpane9" runat="server" Width="215px" Scrolling="None">
<telerik:RadPanelBar runat="server" ID="RadPanelBar1" ExpandMode="FullExpandedItem"
Skin="Office2010Black" Height="655px" Width="100%">
<Items>
<telerik:RadPanelItem Text="Moviles" Expanded="true" >
<Items>
<telerik:RadPanelItem Value="Moviles">
<ItemTemplate>
<asp:Panel ID="Panel1" runat="server" Height="445px" ScrollBars="Vertical">
<telerik:RadTreeView ID="TreeView1" CheckBoxes="true" Runat="server" TriStateCheckBoxes="true" CheckChildNodes="true" OnLoad="OnTreeLoad" OnClientContextMenuItemClicking="onClientContextMenuItemClicking"
OnClientContextMenuShowing="onClientContextMenuShowing" OnClientNodeClicking="onNodeClicking" OnClientNodeChecked="ClientNodeChecked" Font-Size="Smaller">
<ContextMenus>
<telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server">
<Items>
<telerik:RadMenuItem Value="UltimasPosiciones" Text="Ultimas Posiciones">
</telerik:RadMenuItem>
<telerik:RadMenuItem Value="LimpiarPosiciones" Text="Limpiar Posiciones" Visible="false">
</telerik:RadMenuItem>
</Items>
<CollapseAnimation Type="none" />
</telerik:RadTreeViewContextMenu>
</ContextMenus>
</telerik:RadTreeView></asp:Panel>
I need to know how to access the treeview using javascript.
Use this, and nothing:
var tree = $find('<%=RadPanelBar1.Items[0].FindControl("Treeview1").ClientID %>');
I do not know how, thank you very much beforehand.
Greetings.
<telerik:RadSplitter ID="Radsplitter5" runat="server" Height="655px" Width="100%"
Skin="Office2010Black">
<telerik:RadPane ID="Radpane9" runat="server" Width="215px" Scrolling="None">
<telerik:RadPanelBar runat="server" ID="RadPanelBar1" ExpandMode="FullExpandedItem"
Skin="Office2010Black" Height="655px" Width="100%">
<Items>
<telerik:RadPanelItem Text="Moviles" Expanded="true" >
<Items>
<telerik:RadPanelItem Value="Moviles">
<ItemTemplate>
<asp:Panel ID="Panel1" runat="server" Height="445px" ScrollBars="Vertical">
<telerik:RadTreeView ID="TreeView1" CheckBoxes="true" Runat="server" TriStateCheckBoxes="true" CheckChildNodes="true" OnLoad="OnTreeLoad" OnClientContextMenuItemClicking="onClientContextMenuItemClicking"
OnClientContextMenuShowing="onClientContextMenuShowing" OnClientNodeClicking="onNodeClicking" OnClientNodeChecked="ClientNodeChecked" Font-Size="Smaller">
<ContextMenus>
<telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server">
<Items>
<telerik:RadMenuItem Value="UltimasPosiciones" Text="Ultimas Posiciones">
</telerik:RadMenuItem>
<telerik:RadMenuItem Value="LimpiarPosiciones" Text="Limpiar Posiciones" Visible="false">
</telerik:RadMenuItem>
</Items>
<CollapseAnimation Type="none" />
</telerik:RadTreeViewContextMenu>
</ContextMenus>
</telerik:RadTreeView></asp:Panel>
I need to know how to access the treeview using javascript.
Use this, and nothing:
var tree = $find('<%=RadPanelBar1.Items[0].FindControl("Treeview1").ClientID %>');
I do not know how, thank you very much beforehand.
Greetings.