SharePoint 2007 Navigation - part 3

Stramit wrote a real good blog post on SharePoint 2007 TreeView navigation. He is used our good friend Reflector to dive into the SPTreeView and SPHierarchyDataSourceControl to find out what you can accomplish with the SharePoint TreeView navigation controls. He explains how to create a custom masterpage where he modifies the properties of the SPHierarchyDataSourceControl to configure what to display in the TreeView, like Lists, Document Libraries, Sub webs. He also explains how to set to root context from where navigation is displayed to the root web of the site collection by using custom server side script in the masterpage. But hé, you can’t use serverside code in your masterpage I hear you think… wrong!! With some tricks you can get it working. Read Stramits blog post if you are into the navigation game. Good work Stramit!

Some of my earlier SharePoint navigation related posts:

SharePoint 2007 navigation dissected – part 1
SharePoint 2007 navigation - part 2


  • I really want to see Stramit's blog post about SharePoint 2007 TreeView navigation. But the link you provied here did not work. Do you have a copy or know the new link about that post?

    Thanks so much for help.

  • I am also very interested in Stramit's blog post and I'm getting a 404 error. I have some questions such as, what are the valid string values for SPHierarchyDataSourceControl.RootContextObject. I tried using the SDK and Reflector, but couldn't find anything.

  • Please, has anyone got a solution to setting the root for the tree view?

    The blog post mentioned above has disappeared.



  • I have created a Site Navigation Control using CurrentNavSiteMapProvider. I am able to display all the site nodes according tot he navigation settings defined through modify navigation interface. The only point when it fails is when the user adds a new link to the current navigation and selects open in a new windows option. The link gets displayed but it opens it in the same window. I am unable to find the propert which could reaveal that a particular link should be opened in a new windo. Any kind of help will be deeply appreciated,

  • Sharp tools make good work.


  • -----------------------------------------------------------
    Wonderful publish. I just found your web page and would like to say that I have certainly loved reading by means of your blog posts. At any rate I'm going to become subscribing to your feed and I seriously hope you write once more soon.

  • "As a Newbie, I am generally searching on the internet for content that will enable me. Thank you"

    Romance Languages and Literatures

  • sE4ZMa Thanks again for the blog post.Really looking forward to read more. Keep writing.

  • Great, thanks for sharing this blog article.Thanks Again. Really Cool.

  • PXgT0P Im obliged for the post.Thanks Again. Great.

  • gvq9Ig I am so grateful for your blog post.Much thanks again. Will read on...

Comments have been disabled for this content.