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

Forums / Designing with Sitefinity / Two menu controls on one page

Two menu controls on one page

4 posts, 0 answered
  1. Mike
    Mike avatar
    208 posts
    Registered:
    10 Dec 2007
    26 Sep 2008
    Link to this post
    Hi all,

    This should probably be obvious to me, but I thought I'd ask.  I have a page template that renders pages with different themes depending on what part of the site they are in (so as to use different background images and colors).

    Anyway, I'm implementing the site menu at the top of each page, and a second instance in the left colum as a secondary navigation.  However, I want each menu themed differently (obviously, since one is horizontal and the other vertical). 

    Since there seems like you can have only one instance of the menu folder in your theme, how do you handle having more than one menu style?  The only way I can think of would be to wrap the actual menu markup in a tag, and use that to select which menu a style selector is for.  Is there a better way?

    Thanks,
    Mike
  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    26 Sep 2008
    Link to this post
    if you're using the telerik menu, each can have an independent "skin" that is separate from the site "theme", just place two different menu controls on the page. Skins can be set directly on the menu property (Skin="SkinA" and Skin="SkinB" for each control). other properties can be set individually (such as orientation and size) to separate the look of each individual menu.

    you can then follow the instructions on the telerik documentation for radmenu http://www.telerik.com/help/aspnet-ajax/menu_appearancecreatingacustomskin.html or just use the built in skins to make them appear different.

    hope this was helpful!
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    26 Sep 2008
    Link to this post
    Hi Mike,

    You could use some of the embedded (preset) Skins or customize an existing one. To apply a skin to the menu, click Edit to open control property window, expand section Appereance and set the Skin property.

    For more information please check out Appearance Skins.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. Mike
    Mike avatar
    208 posts
    Registered:
    10 Dec 2007
    26 Sep 2008
    Link to this post
    Ah, I think I get it now.  I'd put the menu folder inside my page skin, but didn't think about putting it under the radcontrols folder for the menu...

    I had been wondering why the skins path was "~/RadControls/Menu/Skins" yet my control still picked up the skin when it was in the page theme.  I think I'm finally starting to "get it"...

    Thanks,
Register for webinar
4 posts, 0 answered