开发者

SharePoint 2010: How to troubleshoot a feature designed to replace the SmallSearchInputBox?

开发者 https://www.devze.com 2023-02-10 20:10 出处:网络
I have been trying to create a feature which replaces the SmallSearchInputBox delegate in SharePoint 2010.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消