Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Need smart search box open in parent window View modes: 
User avatar
Member
Member
us-restructurecreative - 2/28/2013 10:27:41 PM
   
Need smart search box open in parent window
Hello,

I have the smart search box web part in an iframe and I need the search results to open up in the parent window instead of inside the iframe. I'm using the btnImageButton onclick. Any help would be much appreciated!

Thanks

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 3/5/2013 7:21:22 AM
   
RE:Need smart search box open in parent window
Hello,

Generally that is not possible with our Search Web Parts because in the iframe is usualy displayed dynamically a content of another page - so it is obvious that the content of the iframe does not belong to the actual page and therefore it cannot be displayed in the search results, iframe loads content of another page.

But you can try to create a custom solution: Use a document crawler which indexes pages and then perform your custom search function which will pass data to the iFrame... take a look at the example... search through the content of an index and retrieves the results in a dataset from our Developers Guide:
Performing indexing and search actions

Best regards,
Martin Danko