Take the 2-minute tour ×

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

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


