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

Published Thursday, July 27, 2006 12:14 AM by svdoever
Filed under:

Comments

Monday, July 02, 2007 10:08 PM by Brent

# re: SharePoint 2007 Navigation - part 3

This was really helpful. I was trying to create an Outlook-style left navigation with tabs that display tree-views of just the lists, libraries, and sites.  You can see the demo (and download the master page) here:

www.sharepoint2007templates.com/.../outlook-style-tree-view-navigation.aspx

Friday, July 13, 2007 11:36 AM by Jane

# re: SharePoint 2007 Navigation - part 3

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.

Tuesday, July 17, 2007 7:57 PM by kipper

# re: SharePoint 2007 Navigation - part 3

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.

Wednesday, August 08, 2007 5:15 PM by Guy

# re: SharePoint 2007 Navigation - part 3

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

The blog post mentioned above has disappeared.

Thanks

Guy

Wednesday, August 22, 2007 4:34 PM by Gary

# re: SharePoint 2007 Navigation - part 3

Here's the article on the web archive. You have to scroll down to the July 27th posting.

web.archive.org/.../blog.spsclerics.com

Wednesday, November 21, 2007 10:18 AM by Chris Buchholz

# re: SharePoint 2007 Navigation - part 3

The problem is that archive and other archive I found (reader.feedshow.com/show_items-feed=8dbcf4c307b7510f76238c8e80225e43) don't have the images that display the actual code.

I've tried setting rootwebid with the GUID of the root site, or putting brackets {} around it, neither works.

Wednesday, October 15, 2008 10:15 AM by Hitesh

# re: SharePoint 2007 Navigation - part 3

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,

Thanks

Leave a Comment

(required) 
(required) 
(optional)
(required)