CatalogSearchControl

CatalogSearchControl provides keyword and optional top-level category search for catalog items.

CatalogSearchControl catalog search

Configurable properties

Property Default Valid values or format Effect
SearchControlLabel
String
Not specified   Sets the search control label.
SearchExactStockCodeFirst
Boolean
true true, false Controls matching stock code before general keyword search.
SearchPageName
String
Not specified   Sets the search page name.
SearchType
String
Not specified   Sets the search type.

SitePages.config example

The following example loads CatalogSearchControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: SearchControlLabel, SearchPageName, SearchType.

<Control src="CatalogSearchControl.ascx"
         SearchExactStockCodeFirst="true" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Inherited properties

CatalogSearchControl inherits listing behavior from ListingControl and shared conditions from CyberStoreBaseControl.


This site uses Just the Docs, a documentation theme for Jekyll.