Is there a way I can show one context menu for a radtreeview node that has child nodes and another context menu on nodes that have no child nodes?
I am pretty sure this will have to be done in Java and I am not a Jscript wizard.
I have tried :
and then on the treeview node bound event I am setting the contextmenuid per node. This unfortunately has no effect and all nodes get this menu.
Any help would be appreciated.
Thanks,
Si
I am pretty sure this will have to be done in Java and I am not a Jscript wizard.
I have tried :
<
telerik:RadTreeView ID="RadTreeView1" Runat="server" Skin="Office2007" OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick" >
<ContextMenus>
<telerik:RadTreeViewContextMenu Skin="Office2007" ID="MainContextMenu" runat="server" >
<Items>
<telerik:RadMenuItem Value="Expand" Text="Expand Descendants"></telerik:RadMenuItem>
<telerik:RadMenuItem Value="Collapse" Text="Collapse"></telerik:RadMenuItem>
</Items>
</telerik:RadTreeViewContextMenu>
</ContextMenus>
</telerik:RadTreeView>
and then on the treeview node bound event I am setting the contextmenuid per node. This unfortunately has no effect and all nodes get this menu.
Any help would be appreciated.
Thanks,
Si