in

jetlounge

the minty fresh blog that whitens your teeth!


Syndication


Quick Launch Bar Navigation Missing From Web Part Pages in SharePoint

by David Leibowitz | January 12, 2009 | Comments: 9

It's rather disturbing that the Left Side Navigation (Quick Launch) by default, does not display on new web part pages created in SharePoint. There are a number of workarounds on the web which include hacking each newly created page, or hacking an existing document template.

I like to use this approach, which modifies only the master page (inherited by each web part page). I only need to touch one file and be done with it.

  1. In SharePoint Designer, find your master page. 
  2. Find the line :
    <asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server">
  3. Directly beneath it add:
      </asp:ContentPlaceHolder>
  4. Find the real closing   </asp:ContentPlaceHolder>  element and remark it out like
       <!--   </asp:ContentPlaceHolder>  -->
  5. Find the line:
       <asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server">
  6. Directly after it add:
      </asp:ContentPlaceHolder>
  7. Find the real closing tag and remark it out
      <!--   </asp:ContentPlaceHolder>  -->
  8. Save the file

Essentially, we're letting HTML render the Quick Launch control on each page rather than let ASP manage it for us from the server. It's no longer conditional.

 

 

del.ico.us digg this technorati BlinkList Furl reddit DotNetKicks google! live Facebook Stumble Upon Yahoo!



Comments

 

Quick Launch Bar Navigation Missing From Web Part Pages in SharePoint | The Black Ball said:

Pingback from  Quick Launch Bar Navigation Missing From Web Part Pages in SharePoint | The Black Ball

January 12, 2009 11:53 PM
 

Quick Launch Bar Navigation Missing From Web Part Pages in SharePoint | The Black Ball said:

Pingback from  Quick Launch Bar Navigation Missing From Web Part Pages in SharePoint | The Black Ball

January 12, 2009 11:53 PM
 

Dwight said:

Thank you, David. That worked for me. One note for other readers who might be novices like me: the closing tag that needs to be commented out is the next one just above the newly added closing tag.

April 9, 2009 5:59 PM
 

Making the Quick Launch appear again on Web Part pages stored in a document library « Microsoft Technology, .Net, BizTalk, Sharepoint & etc. said:

Pingback from  Making the Quick Launch appear again on Web Part pages stored in a document library &laquo; Microsoft Technology, .Net, BizTalk, Sharepoint &amp; etc.

June 16, 2009 12:53 AM
 

Shreya said:

this fix of deleting the two content placeholders to get the left nav did not work for me.

My project is stuck because of this one bug - No left nav :(

I have deleted the 2 content placeholders from every webpart page but still the left nav is not visible, however it is visible for all admin, wiki and allitems.aspx type of pages.

thanks

Shreya

January 30, 2010 1:28 AM
 

Roojo said:

Very good thanks, works as expected for Web Part Pages on WSSv3

However...

Has anyone looked into passing the Web Part Page icon to the section/blank area directly above the navigation panel, like the list item object icons? Is there a listitem xml file which I could add a Web Part Page icon in for?

Is anyone aware of a master page, 'Basic Page' workaround that takes out the breadcrumb and space reserved for the equilvant of the list object title and description section, on top of the actions listed within this blog?

This is what I've used in the past social.technet.microsoft.com/.../58aa5fdb-aeb4-4059-9885-b6d746ac7349

March 30, 2010 6:47 AM
 

Prasad said:

Hi can u explain exact changes how it work

Thanks,

Prasad

February 3, 2011 7:30 AM
 

Dwight said:

This doesn't work for me in 2010.

February 28, 2011 3:13 PM
 

Alex said:

Yeah, this solution doesn't work for 2010.

March 7, 2011 1:08 PM

Leave a Comment

(required)  
(optional)
(required)  
Add
Powered by Community Server (Non-Commercial Edition), by Telligent Systems