2

Is it possible to set the current navigation to "Display the same navigation items as the parent site" using object model? If yes, how?

publishingWeb.Navigation.thenwhat?

1 Answer 1

1

Try the InheritCurrent Property

publishingWeb.Navigation.InheritCurrent = True

Other members of PortalNavigation for reference.

1
  • Your answer is correct however I dont think business unit meant that when they requested this to be enabled. Thanks Again for your prompt help.
    – Roxanne
    May 20, 2011 at 19:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.