Hi,
I have an xml structure like above. This structure is created in a different page by drag-dropping from 2 dynamic treeviews.
My problem is
1. I want to have some "Menu with Submenu" items where I don't want a navigate url. I don't want my page to navigate to a url when the user clicks on that item. How should I change the structure of the xml for that?
2. I'm generating it in a different page by drag-drop. I drag an item from a different treeview to this one to design the menu and serialize it as this xml. Is there any way to put a different property to the node identify it as "Menuitem without navigate url"
3. I want to put a context menu on my TreeView. Any samples.
I'm quite new to Telerik and I couldn't find a fix for my problems by a small search. I would appreciate for a sample or documentation.
Thanks
<Tree AllowNodeEditing="True" SingleExpandPath="True" CheckChildNodes="True" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" OnClientNodeClicking="DontClick" DataNavigateUrlField="NavigateUrl" AppendDataBoundItems="True" DataTextField="Text" DataValueField="Text" Skin="WebBlue" EnableAjaxSkinRendering="False" Height="382px" Width="300px" DataSourceID="XmlDataSource1"> <Node Text="Menu item With SubMenu" Value="menu with submenu" NavigateUrl="~/somelink"> <Node Text="submenuitem" Value="submenuitem" NavigateUrl="~/item" /> </Node></Tree>I have an xml structure like above. This structure is created in a different page by drag-dropping from 2 dynamic treeviews.
My problem is
1. I want to have some "Menu with Submenu" items where I don't want a navigate url. I don't want my page to navigate to a url when the user clicks on that item. How should I change the structure of the xml for that?
2. I'm generating it in a different page by drag-drop. I drag an item from a different treeview to this one to design the menu and serialize it as this xml. Is there any way to put a different property to the node identify it as "Menuitem without navigate url"
3. I want to put a context menu on my TreeView. Any samples.
I'm quite new to Telerik and I couldn't find a fix for my problems by a small search. I would appreciate for a sample or documentation.
Thanks