4

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?

1 Answer 1

1

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

Your Answer

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

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