0

I have a thing to do.. Retrieve/fetch/get the items from the quicklaunch bar of sharepoint, programmatically.

That is, all the quicklaunch bar items such as -lists, calendars, announcements etc of a particular site to be retrieved programmatically. Need to do it in asp.net. kindly provide some help.

I am new to SharePoint.

Sigar Dave
  • 2,598
  • 1
  • 20
  • 42
user1865422
  • 23
  • 1
  • 6

1 Answers1

0

You can do something like this

SPNavigationNodeCollection nodes = web.Navigation.QuickLaunch;
for(int i = nodes.Count - 1; i >= 0; i--)
{
//this will let you access all the nodes available in a quick launch using nodes[i]
}

see this link also: http://www.mtelligent.com/journal/2007/10/7/customizing-the-quick-launch-menu-with-spnavigationnode-spna.html

Hope this helps

Sigar Dave
  • 2,598
  • 1
  • 20
  • 42
  • http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.navigation.spnavigation.quicklaunch.aspx this helped me – user1865422 Jan 24 '13 at 05:34