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 been trying to create a feature which replaces the SmallSearchInputBox delegate in SharePoint 2010.

I have a new control which I placed in ~/controltemplates and created an element and feature xml.

In the debug mode of VS2010, I can see the site collection feature and activate it but nothing changes to the search area. I also tried farm scope but no difference.

Any ideas?

share|improve this question
up vote 2 down vote accepted

This delegate control takes a single control, so you need to ensure that the sequence is less than 25 (the default control) to override it. Make the sequence 20 or something. Also make sure the feature is Site scoped.

It might be worth double checking that the page you are loading actually contains the SmallSearchInputBox delegate control. It's easy to miss this kind of thing. I should know.

share|improve this answer

If changing your sequence id (as SPDoctor suggests), can you post your code?

Conveniently enough, MSDN's sample article on delegate controls deals with the SmallSearchInputBox. You can find that link here. Note the comments at the bottom of the article as they have a few errors published.

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.