开发者

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;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜