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 would like to have two search boxes on my master page, one that would search for content and the other one that would search for people.

I see the code in the master page that searches for content:

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

How would I add another box that searches for people?

share|improve this question

1 Answer 1

You can add a search web part to the page and change the scope to search for people instead.

share|improve this answer
    
Since the delegate control is configured based on the site collection's search settings and scopes you will not be able to add two of these controls to the page and have them behave differently. Adding the search web part to the page as @CharlieDigital mentioned is the approach I typically take, but this is not done typically done in the masterpage, but on the actual web part page(s). –  Mike Oryszak Sep 18 '11 at 14:23

Your Answer

 
discard

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