Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We have a SearchBoxEx control defined as follows:

<SPSWC:SearchBoxEx SearchResultPageURL="/Pages/SearchResults.aspx" id="searchControl" RegisterStyles="false" DropDownMode="ShowDD_NoContextual_DefaultURL" TextBeforeDropDown="" TextBeforeTextBox="" TextBoxWidth="150" GoImageUrl="/_layouts/images/gosearch15.png" GoImageActiveUrl="/_layouts/images/gosearch15.png" UseSiteDefaults="false" SuppressWebPartChrome="true" runat="server" WebPart="true" __WebPartId="{0BA04967-6A1C-49F3-8F58-F129878DCD9B}" ScopeDisplayGroupName="Search Dropdown"/>

We also have Shared Scopes set up in the Search Service Application, which are then arranged into the appropriate Display Groups under each Site Collection.

We have four site collections in the following locations:

 1. http://site/
 2. http://site/subsite/two
 3. http://site/subsite/three
 4. http://site/subsite/four

The problem we have is that in the Scopes drop-down next to the search box, the Scopes are duplicated as follows:

  1. Scope 1
  2. Scope 2
  3. Scope 3
  4. Scope 1
  5. Scope 2
  6. Scope 3

Any help would be greatly appreciated!

share|improve this question
    
The issue appears to be caused by any modification of the SearchBoxEx object (we're attempting to configure the SearchResultPageURL attribute) in the codebehind during the OnLoad event. Still looking for a solution! –  John Aug 14 '12 at 15:45
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.