Context Menu on Navigation

2 posts, 0 answers
  1. Nihan dK
    Nihan dK avatar
    3 posts
    Member since:
    Feb 2006

    Posted 20 Oct 2015 Link to this post

    Hi there,

    We are trying to attach a Context Menu to RadNavigation, see sample code below. The context menu only opens for the top level items in the the RADNavigation and not the sub-items. How can we get it working with the sub-items too?

    <telerik:RadNavigation ID="RadNavigation1" runat="server" Skin="Bootstrap" MenuButtonPosition="Left" OnClientContextMenu="OnClientContextMenu"
        EnableViewState="false" OnNodeDataBound="RadNavigation1_NodeDataBound" OnClientNodeMouseEnter="OnClientNodeMouseEnter"
        OnClientNodeMouseLeave="OnClientNodeMouseLeave" DataSourceID="SiteMapDataSource1" OnDataBound="RadNavigation1_DataBound">
    <telerik:RadContextMenu runat="server" ID="ContextMenu2" Skin="Bootstrap" EnableViewState="false"
           <telerik:ContextMenuControlTarget ControlID="RadNavigation1" />
            <telerik:RadMenuItem Text="Move ​item up" Value="MoveUp" />
            <telerik:RadMenuItem Text="Move item down" Value="MoveDown" />

  2. Ivan Danchev
    Ivan Danchev avatar
    788 posts

    Posted 22 Oct 2015 Link to this post

    Hello Nihan,

    I answered you inquiry in the opened support ticket with the same subject. If you have more questions, in order to avoid thread duplication, I suggest we continue the discussion in the other thread.

    Ivan Danchev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top