string url = HttpContext.Current.Request.Uri.OriginalString;
TaxonomyNavigationContext class ontains several properties which will help you to work with friendly URLs programmatically,
For Example:
HasFriendlyUrl and ResolvedDisplayUrl (all properties can be found here).
you can get friendly URL using the following...
Showing posts with label Navigation Sharepoint. Show all posts
Showing posts with label Navigation Sharepoint. Show all posts
Wednesday, July 13, 2016
Wednesday, December 9, 2015
09
Dec
Programmatically Create TopLink Bar in SharePoint site collection:
SPNavigationNodeCollection topnav = oweb.Navigation.TopNavigationBar;
SPNavigationNode node = new SPNavigationNode("Title", "URL");
node = topnav.AddAsLast(node);
node.Update();
Similarly, To create Quicklaunch bar
SPNavigationNodeCollection topnav...