Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Get smart search control cmstextbox value on another custom web part View modes: 
User avatar
Member
Member
rakesh-clavax - 5/29/2013 7:32:10 AM
   
Get smart search control cmstextbox value on another custom web part
Hi,

Please tell me, how can i get the Smart search control cmstextbox value in another webpart control, actually I am using custom filter link to narrow the search result, currently i am getting search text from "searchtext" querystring, and contcatenate both cmstextbox and custom link filter, and pass it to searchtextbox to get desired result.

Thanks in advance

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 5/29/2013 8:45:12 AM
   
RE:Get smart search control cmstextbox value on another custom web part
You'd have to modify the existing web part (not recommended, suggest creating your own copy) or create your own web part that is a simple copy of the current smart search and add your filter to it. You don't pass property values from one web part to another.

If you were to modify the existing web part you could set a session value and look for that session value in your other web part.