0
votes
1answer
65 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 ...
0
votes
0answers
105 views

Reset Top Navigation to Defaults

Is there any way to reset the top navigation links to be OOTB? This way each web would just have the appropriate default link and would be security trimmed. I just need to revert the customizations ...
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
1answer
99 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
300 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
1k 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 ...