Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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)

share|improve this question
    
You want to customize Left Navigation right ? –  Arsalan Adam Khatri Aug 22 '13 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. –  coder1 Aug 22 '13 at 13:56
    
You want the left navigation to work with Terms? Or you want to set the left navigation just once? –  Arsalan Adam Khatri Aug 22 '13 at 14:00
    
It should be like on feature activation.No Terms. –  coder1 Aug 22 '13 at 14:22

1 Answer 1

Navoneel,

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)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.