Update links to Top Navigation Sharepoint 2010 programmatically
using (SPSite siteSuzuki = new SPSite("http://yourwebapp/sites/Suzuki"))
{
SPWeb objWeb = siteSuzuki.OpenWeb();
SPNavigation _navigation = objWeb.Navigation;
SPNavigationNodeCollection _navNodes = _navigation.TopNavigationBar;
foreach (SPNavigationNode item in _navNodes)
{
if (item.Title == txtOldGlobalNavigationName.Text)
{
item.Title = txtNewGlobalNavigation.Text;
item.Update();
}
}
objWeb.Update();
//litError.Text += " Site URL: " + site.Url + ">> Site Name: " + site.OpenWeb().Title; ;
}
Nice information, I had come to know about your internet site from my friend, and let me tell you, your website gives the best and the most interesting information. Regards, SharePoint 2013 Administration Training in Hyderabad
ReplyDeleteExcellent information, I have been looking for this info. Thank you very much for posting it.
ReplyDeleteSharePoint 2013 Developer Training in Hyderabad
Great article ...Thanks for your great information, the contents are quiet interesting. I will be waiting for your next post.
ReplyDeleteSharePoint 2013 Online Training in Hyderabad
Great Article! Thanks for the nice collection of info...
ReplyDeleteSharePoint 2013 Training Institutes in Hyderabad
Packing Tips for Relocating Properties
ReplyDeleteClick Here:
packers and movers pune
packers and movers in pune
movers and packers pune
movers and packers in pune
nice piece of information, I had come to know about your internet site from my friend vinay, delhi,i have read atleast 12 posts of yours by now, and let me tell you, your website gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new post, once again hats off to you! Thanx a ton once again, Regards, obiee training in hyderabad
ReplyDeleteThis article is really fantastic and thanks for sharing the valuable post.
ReplyDeleteSharepoint Online Training | Dynamics AX Online Training
I have read this above post its very nice for us thanks sharing ,great post.
ReplyDeletepotaup