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

Forums / Designing with Sitefinity / RadMenu: Using submenus

RadMenu: Using submenus

6 posts, 0 answered
  1. Nachitous
    Nachitous avatar
    15 posts
    Registered:
    09 Aug 2010
    02 Nov 2010
    Link to this post
    Hi everyone, I'm using the radMenu that comes with Sitefinity in a legacy site, the structure of the site is something like this:
    Home
    |->Section1
    |->Section2
    |->Section3
    |   |->SubSection3a
    |   |->SubSection3b
    |       |->SubSubSection3b1
    |       |->SubSubSection3bn
    |   |->SubSection3c
    |->Section4

    And so on
    Not all the sections have sub sections (or subsubsections), or I don't want to show certain subpages.
    When I changed the settings of the menu to show child nodes, it didn't show anything, so a change my custom sking for the default, and in fact, the subpages appeared, but there wasn't any link that leaded me to said page.

    How can I solve it? Is a special configuration in the menu, or I have to remake the sking to deal with the child nodes?

    Thanks in advance.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    03 Nov 2010
    Link to this post
    Hi Nachitous,

    You could take a look at the articles below which describes how to create a custom skin for the RadMenu control



    Kind regards,
    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
  3. Nachitous
    Nachitous avatar
    15 posts
    Registered:
    09 Aug 2010
    03 Nov 2010
    Link to this post
    Thanks for the quick answer, it took a while, but I'm starting to understand the nesting of classes and elements works. But actually, the problem is that the subItems of the menu don't show up, but if I check the source of the page, they are there, and the styles that I defined in the css are applied. And in the only case that a subsubitem appeared, it was disabled. So I think this is mostly an issue of configuration of control/properties of pages than css, besides, if it were only css, the items should be there, ugly as hell maybe, but there.

    I set the "LastExpandLevel" property of the radMenu to more_than_0, and the "Show in navigation" property of certain pages to "Yes", so as far as I understand how it works, the menu should show me all those pages as long the hare in a level no grater than the LastExpandLevel, am I right here?

    Previously, there were 2 radMenus in the site, one with the main sections, and the other for each one seting the StartingNodeOffset and StartingNodeUrl for the section I wanted, but I took off that 2nd menu in an attemp to have all the navigation functionality in one place.

    Thanks
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    04 Nov 2010
    Link to this post
    Hello Nachitous,

    Thank you for getting back to us.

    Can you please let us know if you have configured the menu not to load its embedded base style sheet and base java script files?

    Best wishes,
    Radoslav Georgiev
    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
  5. Nachitous
    Nachitous avatar
    15 posts
    Registered:
    09 Aug 2010
    04 Nov 2010
    Link to this post
    Honestly I don't know, the site came to me as it is, and I only "played" with the values of "LastExpandLevel", "Show in navigation", "StartingNodeOffset" and "StartingNodeUrl", and still can't get the desired behaviour.

    I made a new tree:

    Root
    |->Child1
    |  |->GrandChild1a
    |  |   |->GrandGrandChild1a1 -> Show in navigation = Yes
    |  |   |->GrandGrandChild1a2 -> Show in navigation = No
    |  |   |->GrandGrandChild1a3 -> Show in navigation = Yes
    |  |->GrandChild1b
    |  |   |->GrandGrandChild1b -> Show in navigation = Yes
    |->Child2
       |->GrandChild2


    And only got to see the: Child1, GrandChild1a, GrandChild1b and Child2

    EDIT: I forgot to mention: there was no links in GrandChild1a and GrandChild1b, and inspecting the elements with FireBug, they have the class rmDisabled.

    Thanks!
  6. Nachitous
    Nachitous avatar
    15 posts
    Registered:
    09 Aug 2010
    05 Nov 2010
    Link to this post
    Well, somehow a managed to make it work as I want, only if I use the default skin for the menu, once I change to my custom skin, all the "new" elements aren't displayed, but inspecting the menu, they are there. So, I copied the styles that have a rmLevel1 class, and change the rmLevel1 for rmLevel2, but nothing changed.

    Thanks in advance!
Register for webinar
6 posts, 0 answered