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 was admiring the managed metadata navigation. When you select a list, a webpart automatically appears in the quick launch side bar. This can be used for filtering list items.

When you select another site element, the web part is no longer visible.

Is this difficult to do? Basically attach a web part to the quick launch and detach it, when the list loads or unloads?

share|improve this question
up vote 1 down vote accepted

As I understand your question, all these functions could be implemented with no problems.

Though, I recommend you to use not a webpart, but a user control, and attach it to your pages using Delegate Control approach.

Inside your control, you can check Request.RawUrl or enumerate webparts on the page using SPLimitedWebPartManager, or whatever.. - to determine, if the control contents need to be shown. Based on that knowledge, you can finally setup Visible properties of inner controls.

share|improve this answer

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.