Hi Anil,
Please see explanation. hope this helps
Hi Anil . The Search document is called using the following from the Master Page, which has the custom search dialog control ie
Extracts from master template
Control
<%@ Register TagPrefix="netc" TagName="SearchDialog" Src="~/SiteFiles/WebParts/SearchDialog.ascx" %>
This is a screen shot of the search dialog
Call to Search Page
<netc:SearchDialog ID="desktopSearch" runat="server" SearchPageUrl="/search-results/" DefaultText="Search this site" />
This value is then picked up in the search results web part via the Search condition:
MenuItemName:"{% QueryString["searchtext"] #%}" ProductCategoryName:"{% QueryString["searchtext"] #%}" NewsTitle:"{% QueryString["searchtext"] #%}" ProductName:"{% QueryString["searchtext"] #%}" Event
This is my search results page with two further smart search filters
So effectively the search condition picks up the text from the URL, but not, the value disappears from the search box upon loading the search page, even though it does retrieve the documents relating to the text. The problem seems that when I try to use the other two filters, which work fine together, I am loosing the original search condition which I want to also incorporate in the search, such as
User types frank in the text search
User is directed to search page with filtered results showing
User sets page types to Blog
Search results display a subset of previous results generated by text search.
Hope this helps
Not too sure how to get screen shots to you ?
Best Regards,
Paul