Reading Global Navigation in SharePoint from a Web Part
Is it possible to read the Global Navigation of all the sub sites and disp开发者_开发问答lay the items (links or category) from a Web Part that should be in a master page?
Don't forget that the global navigation can be edited in the settings, so I can't just loop on pages and sub sites. :(
You can read the navigation using : SPNavigationNodeCollection navNodes = web.Navigation.QuickLaunch;
精彩评论