I need to create a function which will build 2 level left navigation programmatically. Function should take name/title and url.

Can some body show me how to create using SPNavigation or any other SP class. Thanks.

Left Nav should be like: TermCountry -> Country1(Input to my function with url), Country2(Input to my function with url)

  • You want to customize Left Navigation right ? Commented Aug 22, 2013 at 13:51
  • Yes.after site creation I need to change the existing left nav (which gets craeted by default) with code say feature receiver.
    – user13408
    Commented Aug 22, 2013 at 13:56
  • You want the left navigation to work with Terms? Or you want to set the left navigation just once? Commented Aug 22, 2013 at 14:00
  • It should be like on feature activation.No Terms.
    – user13408
    Commented Aug 22, 2013 at 14:22

1 Answer 1



I hope this should help:
Programmatically Add and Remove Items from the Quick Launch Bar

If you want to change the look and feel of the Quick Launch than you can apply CSS as shown in these:
Branding the Quick Launch in SharePoint 2010 – Part I
Brand SharePoint: Quicklaunch - Getting ready to expose CSS (Part 1)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.