I have enabled the fly out menus for the quick launch menu on one of my SPS 2010 sites by changing the value of the MaximumDisplayLevels for the Quick Launch Menu control. My current configuration looks like this:

CssClass="s4-ql" />

I have learned that some of the menu items will require more than just the one dynamic menu level. As far as I understand, I should be able to change the value of MaximumDynamicDisplayLevels in order to accomplish this task. The problem that I am encountering is that I am not aware how to actually populate these levels past the first dynamic level. Thus far, I have been using the Navigation page of the Site Settings in order to set the links in the Quick Launch menu. But it doesn't appear that after changing the MaximumDynamicDisplayLevels that you can add more headers than before.

What am I doing wrong? Do these levels need to actually be coded elsewhere?

1 Answer 1


Yea, you are on the right path but unfortunately the ootb pages for generating the quicklaunch or top nav structures only allow 1 or 2 levels of depth. I had to write my own application pages that allow me to have unlimited levels of depth.

In addition, the default SPNavigationProvider doesn't seem to allow navigation items that don't have a url or if you want them to open in a new window. For this I also wrote my own SPNavigationProvider that I use when I use my own application pages.

So with a feature activation, which I call "Advanced Top Navigation" or "Advanced QuickLaunch", I change out the navigationprovider and remove the existing links under site settings to manage the navigation and replace them with links to my custom application page that allows deeper navigation structures.

It seems to work well with our end users.

  • Is there an easier way to go about it than making an application page? While it would be nice to use a navigation type interface, it is not necessary in this instance.
    – Psycho Bob
    Commented Nov 1, 2010 at 18:07
  • 1
    Yea, you could hard code the navigation into a console app or maybe do it in powershell or something. But there isn't a way to do it through the UI unless you make your own. Commented Nov 1, 2010 at 20:36
  • 1
    A quick google search found this blog with some basic code samples: learningsharepoint.com/2010/09/07/… Commented Nov 1, 2010 at 20:37
  • Where would you add this code to? The master page?
    – Psycho Bob
    Commented Nov 4, 2010 at 17:22
  • A console app maybe? Commented Nov 4, 2010 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.