0
votes
1answer
92 views

How to create 2 level left navigation with code

I need to create a function which will build 2 level left navigation programmatically. Function should take name/title and url. Can some body show me how to create using SPNavigation or any other SP ...
2
votes
2answers
1k views

TOP Site Navigation Broken. How can it be fixed?

Does anyone have any idea on how I can fix the navigation? I tried to go into Site Actions-->Site Settings --> Navigation but that page is not loading. I already tried the Enable/Disable publishing ...
1
vote
2answers
121 views

Quick launch strange behaviour

I am accessing the quick launch nodes programmatically by using SPWeb currWeb = SPContext.Current.Web; SPNavigationNodeCollection nodes = currWeb.Navigation.QuickLaunch; foreach (SPNavigationNode ...
1
vote
1answer
340 views

PublishingWeb.Navigation.CurrentNavigationNodes not including newly added items

I am trying to get the collection of all the items of left menu programmatically. When any new publishing page is added, it shows in OOTB left navigation, but when I try to get navigation nodes ...
1
vote
1answer
2k views

c# iterating SPWeb.Navigation.GlobalNodes

When I try to iterate through the GlobalNodes collection using c# it is always empty unless I the site and manipulate the navigation settings manually. Can anyone tell me why this is and/or give an ...