in

ASP.NET Weblogs

uber1024's WebLog

It's not hot wings and beer, but it's still okay

A curious thing about the CategoryNavigationWebPart

I had the following line in the default.aspx page of my new template:

<SPSWC:CategoryNavigationWebPart runat="server" id="VerticalNavBar" DisplayStyle="VerticalOneLayer" />

and, as I reported earlier, the side navigation wasn't working correctly.  It was displaying the navigation from the home page instead of the current area.  For some reason, changing the id made everything work right:

<SPSWC:CategoryNavigationWebPart runat="server" id="VerticalNavBar2" DisplayStyle="VerticalOneLayer" />

I'm not sure why “VerticalNavBar” works for every other template, but I have to rename the control for my template.  My guess is that I need to crack open the XML files and start searching.  Thoughts, anyone?

Published Apr 08 2004, 10:44 AM by uber1024
Filed under:

Comments

 

Mark Munzer said:

No thoughts... but I'm glad you figured it out. This saved us !!! Thanks. How did you figure it out?
May 7, 2004 4:02 PM
 

uber said:

Just trying anything I could and hoping something would work. That's how I learned EVERYTHING about Sharepoint that I know.
May 7, 2004 4:53 PM
 

Eric Donneger said:

I did the same process as you and have no problem with my CategoryNavigationWebPart ID'ed VerticalNavBar (I'm in a french configuration but I don't think it makes a difference at this point)

Which template did you take as the starting point to create your own ?

I ask this question because "SPS" template (used by homepage) also implements a CategoryNavigationWebPart IS'ed VerticalNavBar and which displays "Topics" sub-areas (I can't figure where it is configured except in a deep SharePoint stuff).
May 12, 2004 4:52 AM

Leave a Comment

(required)  
(optional)
(required)  
Add