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

Forums / Developing with Sitefinity / Custom menu navigation

Custom menu navigation

4 posts, 0 answered
  1. Dan
    Dan avatar
    23 posts
    Registered:
    04 Dec 2010
    07 Dec 2010
    Link to this post
    Hello, I am new to SiteFinity and have a question about customizing the menu bar. What i'm trying to do is have a normal, horizontal menu bar. When a user clicks on a menu option, a large, white box will appear with all the child pages links, with short descriptions of each link/page.  Can this be done? If so, how? I have access to the server running Sitefinity and to all the files. Just needing to know how to get started.

    The menu on this site is very close to what I am wanting to do : http://QuakerOats.com

    I'm attaching a picture that will hopefully show what i'm trying to accomplish.  It shows what it might look like if someone clicked on "Membership" from the top menu bar.

    edit: I assumed I could create this as a static css/javascript box. But I rather have the menu items be dynamic, as it pulls from the site map. So, it's like the Site Navigation control, just with the customization I wanted (the white box popup)

    Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Dec 2010
    Link to this post
    Hello Dan,

    You can use Mega Drop Down menu.

    Greetings,
    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. Dan
    Dan avatar
    23 posts
    Registered:
    04 Dec 2010
    07 Dec 2010
    Link to this post
    Thanks. I have looked at that, but i'm not exactly sure where to put the code to make this happen. Can you give me a starting point?

    Also, it looks like the menu items are hard coded. Is there no way to make the items dynamic? So, if a page is added, it would not show up in the menu unless I hard code it?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Dec 2010
    Link to this post
    Hello Dan,

    You should have a custom control that wraps RadMenu from the demo website. Actually the code from the demo can be used in every ASP.NET website. You can build dynamically the menu, but this is not a good idea, because you will have many styling issues if someone adds a new node. It would be impossible to control the size of the menu if it is growing each day with several nodes.  In your custom control you can expose public properties or implement a menu builder which will allow you to include limited number of nodes.

    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
Register for webinar
4 posts, 0 answered