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

OOB People search result web part uses control SEARCHWC:PopupControlExtender for displaying recent content created by the user. How can I use that control in custom code? If I add the control in custom code, I get error

Unknown server tag 'SEARCHWC:PopupControlExtender'.

What reference should I have in my .master page to get this working? Thanks!

Also SEARCHWC:PeopleCoreResultPopupControl seems to be used on the OOB Web Part.

UPDATE: According to reflector PopupControlExtender is found from Microsoft.Office.Server.Search.WebControls, still this doesn't do any good

<%@ Register Tagprefix="SEARCHWC" Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
share|improve this question

1 Answer 1

You should specify the tag declaration on your page

<%@ Register TagPrefix="tagPrefixName" Namespace="namespace" Assembly="fullAssemblyName" %>

of

<%@ Register TagPrefix="tagPrefixName" TagName="tagName" src="pathToTheControl" %>

Could you look at the working page that contains SEARCHWC:PopupControlExtender and copy past the registration which contains TagPrefix="SEARCHWC" ?

share|improve this answer
    
If I add OOB People Search Results Web Part on my page, it contains SEARCHWC:PopupControlExtender, yet I cannot find any reference to it anywhere. That OOB web part on the same page with my custom web part, will work just fine with that SEARCHWC:PopupControlExtender control. –  Jussi Palo Mar 28 '12 at 12:57
    
try to use <%@ Register TagPrefix="SEARCHWC" Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>, but I'm not sure that it is a control that you use :) –  Alexander Mar 28 '12 at 13:15
    
Thanks, just looked that up using reflector and tried, but it doesn't help. Strange. –  Jussi Palo Mar 28 '12 at 13:16
    
Look at this post... may be it will be helpfull. –  Alexander Mar 28 '12 at 13:20
    
Unfortunately that post doesn't discuss my issue, although on the post there you can see the SEARCHWC control just like it is on OOB search results web part. –  Jussi Palo Mar 28 '12 at 13:22

Your Answer

 
discard

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.