+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / RadMenu after click stay opened, how

RadMenu after click stay opened, how

5 posts, 1 answered
  1. Milos Tadic
    Milos Tadic avatar
    32 posts
    Registered:
    05 Nov 2009
    16 Nov 2010
    Link to this post
    Hi folks,

    I have double horizontal line menu.
    What I need? When user click on subpage, subpage line should stay opened and root page of subpage should be marked.

    I tried with this example, but nothings happen:
    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/developing-with-sitefinity/351682-radmenu.aspx

    Also, I did this tips, and works fine, but that's not all what I want:
    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/designing-with-sitefinity/lastexpandlevel-not-works-in-ie7.aspx

    You can se attached image for preview.
    Any help will be appreciated. Thanks

    Best regards,
    Milos.
  2. Milos Tadic
    Milos Tadic avatar
    32 posts
    Registered:
    05 Nov 2009
    16 Nov 2010
    Link to this post
    I can't upload preview :-/
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    16 Nov 2010
    Link to this post
    Hi Milos,

    You should better use RadTabStrip control. The RadMenu does not support expand/collapse functionality you are looking for. You can prevent collapsing of the item through OnClientItemClosing event , but you cannot detect the opened items and then collapse them. You can try to hack the menu by using get_openedItem() client side function and then check the item level by get_level();. If the hovered item is level one and it is currently opened you can call .close() function that should collapse it.

    As for the selected items you can use the specific css files selectors

    CSS Skin File Selectors

    All the best,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
    Answered
  4. Milos Tadic
    Milos Tadic avatar
    32 posts
    Registered:
    05 Nov 2009
    17 Nov 2010
    Link to this post
    Thanks Ivan,

    that was what I needed.

    Best regards,
    Milos.
  5. Kaushal
    Kaushal avatar
    1 posts
    Registered:
    06 Sep 2010
    19 Jan 2011
    Link to this post
    Hi Milos,

    If you have done with menu which stay open at sub level then please help me to do this.

    Thanks & Regards,

    Kaushal
Register for webinar
5 posts, 1 answered