Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.