Ektron Reference |
Each Input and Results View control has a corresponding SearchController Control. See table below.
Input and Results View control | SearchController Control |
---|---|
SiteSearch | SiteSearchController |
ProductSearch | ProductSearchController |
UserSearch | UserSearchController |
XMLSearch | XMLSearchController |
The SearchController control takes input from a SearchInputView control, and returns results to a SearchResultsView control. It provides an interface to the search API, thereby giving SearchView controls access to search data.
You can modify Ektron's SearchController or write your own.
The SearchController executes a search using a query string from the SiteSearchInputView control's Text property, as specified in the code-behind's Onclick event.
Unlike the other search controls, SearchController has no UI functionality. So, there is no corresponding .ascx file.
Use only one SearchController per page.
ID - provides the association for the SiteSearchInputView and SiteSearchResultsView server controls. here is an example of the ID property with the SiteSearchController.
<ektron:SiteSearchController ID="SiteSearchController1" runat="server" />
AdvancedQueryText - see Using the Advanced Query Text Parameter
Ektron Version 8.5, Doc. Rev. 2.0 (Dec. 2011)
Visit the Ektron Dev Center at http://dev.ektron.com 1–866–4–EKTRON
Ektron Documentation, © 2011 Ektron, Inc.