SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By code, when I create a new blank site and replace the welcome page layout by a new layout page, the original quick launch menu disapears. How to keep the original quick launch menu of a page even after replacing the page layout by another one?

share|improve this question

You must set the master page to one with the quick launch in the ContentPlaceHolder with the id PlaceHolderQuickLaunchTop

<asp:ContentPlaceHolder id="PlaceHolderQuickLaunchTop" runat="server">

Visit MSDN to read more about Creating Pages for SharePoint

share|improve this answer
Hello, I need to get the result when I create a new site definition in Visual Studio. Not by SPD. Do you get the solution in this case ? Thanks – christophe Chopin Jan 8 '13 at 20:09
SharePoint Designer is not required, but a master page with the correct placeholders is. Often, master page development is started in SharePoint Designer, but you could do it all in Visual Studio if you preferred. You might want to start with copying the text of default.master from the SharePoint Root. – Tom Resing Jan 8 '13 at 20:17
Hello Tom, thank you for the time you give me. I red your comment but I must be too novice in this part of Sharepoint to understand what you mean. Would you be kind to take time again by explaining in details what to do exactly to get the result I wnant to ? It is really important to me to solve this problem cause I'm complety stuck in the project because of that. Thanks. – christophe Chopin Jan 9 '13 at 20:58

Your Answer


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.