SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to create a collapsable menu for a subsite, which replaces the default menu in Quick Launch.

And, the items of the menu are dynamic on the basis of content in list and lookups.

I have searched online and found solutions related to DataView web parts, SharePoint designer and xslt.


But, I have to add the web part through code. And i also intent to use the default CSS already defined for that site.

Many thanks, your replies would help me alot :)

share|improve this question
any pointers would be greatly appreciated. As of now I have no idea on how to move forward with this :) – goso Oct 29 '11 at 11:19

Maybe you can create a custom sitemap provider. Similar post: manage the top navigation via a custom list?

The collapse effect can be achieved with some jQuery.

share|improve this answer
thanks & +1 for you, very helpful :) – goso Oct 29 '11 at 20:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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