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 have created a custom master page. I display the search box on the page using the following code:

<asp:ContentPlaceHolder ID="PlaceHolderSearchArea" runat="server">
    <SharePoint:DelegateControl ID="DelegateControl6" runat="server" ControlId="SmallSearchInputBox" Version="4" />
</asp:ContentPlaceHolder>

This displays the search box in the top right hand corner of a page. When I perform a search on the search results page /Pages/Results.aspx the search box is not there. The same master page is used on both pages.

How can I get the search box to remain on every page?

share|improve this question
add comment

1 Answer

You would need to remove the search box from the PlaceHolderSearchArea as that is the control that is replaced when the search page renders

share|improve this answer
add comment

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.