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

I have a strange problem regarding the overriding of search delegate control in SharePoint 2007. The purpose of why i override it is to set drop down mode to show contextual scopes as default aka first.

So i created a feature which will be activated on scope = web. And in the control i set ShowDD_DefaultContextual, according to msdn it should show all scopes but the first that will be selected is most actual scope. So that is what i need.

But the problem is, I can't see in the drop down list the standard scopes like "all sites" and "people". The contextual scopes are selected as promised but lack of ootb search scopes is not accaptable for me.

Here is whole xml definition for the control:

  <Control Id="SmallSearchInputBox" Sequence="25" 
           ControlAssembly="Microsoft.SharePoint.Portal, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c">

    <Property Name="GoImageUrl">/_layouts/images/gosearch.gif</Property>
    <Property Name="GoImageUrlRTL">/_layouts/images/goRTL.gif</Property>
    <Property Name="GoImageActiveUrl">/_layouts/images/gosearch.gif</Property>
    <Property Name="GoImageActiveUrlRTL">/_layouts/images/goRTL.gif</Property>
    <Property Name="SearchResultPageURL">/_layouts/osssearchresults.aspx</Property>
    <Property Name="ScopeDisplayGroupName"></Property>
    <Property Name="FrameType">None</Property>
    <Property Name="UseSiteDefaults">true</Property>
    <Property Name="DropDownModeEx">ShowDD_DefaultContextual</Property>


Do I miss something?

Thanks in advance for the help.

share|improve this question

Ok, I found the solution:

This line from xml should have been deleted:

 <Property Name="ScopeDisplayGroupName"></Property> 

When i delete that line and redeploy, I receive the expected results. Hope this will help other people.

share|improve this answer

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.