More in this section

Sub Menu help

3 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    09 Nov 2007
    Link to this post
    Hi

    The idea is to have the following sub menu on the side of the page

    Main site root
     Item1
     item2
     item3
     item4
        >item4 sub Page1
        >item4 sub Page 2


    When i click on item 4, it must expand and show the 2 sub pages without redirecting, at the moment its set to a page group but its redirecting

    When i click on subpage1 or 2 i actually want it to pop up and image using the lytebox thing that i've read on here.

    Any ideas how i would do that?
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    12 Nov 2007
    Link to this post
    Hi Quade,

    You need to modify the SiteMenu.ascx control located in the ~/Sitefinity/UserControls/Navigation/ folder. Actually, we suggest you make a copy of the control and after that apply your changes because in case of upgrade you will lose the changes. As for the concrete implementation, please investigate the following online example:

    Click To Open

    Also, could you explain what exactly you mean under "When i click on subpage1 or 2 i actually want it to pop up...". If you want to open the pages in a new window, set "_blank" for the Target property of the menu item for the corresponding page in the method handling RadMenu OnItemDataBound event:

    e.Item.Target = "_blank";


    For more information on this matter have a look at this forum thread.

    Hope this helps.

    Kind regards,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    12 Nov 2007
    Link to this post
    thats great thanks
Register for webinar
3 posts, 0 answered