SharePoint 2010: How to troubleshoot a feature designed to replace the SmallSearchInputBox?
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.开发者_Python百科 I also tried farm scope but no difference.
Any ideas?
Did you set the Sequence attribute of your delegate control lower than the default SharePoint control? I guess SP uses a sequence of 50 or 100 for the search box, did you try a value lower than that? Otherwise SP doesn't show your control, but the SP control.
精彩评论