Share via


Search Control

Provides keyword search within a catalog or all catalogs.

Control Description
Web User Control Search.ascx

Inherits Microsoft.CommerceServer.Site.Catalogs.CatalogSearch

Codebehind Search.ascx.vb
Project File Catalogs\vb\Catalogs VB Controls.vbproj
Namespace Microsoft.CommerceServer.Site.Catalogs
DLL / Assembly Microsoft.CommerceServer.Retail2002.Catalogs.dll

This control has the following properties:

Property Description
Catalog Gets the currently selected catalog(s).
Keywords Gets the keywords to be searched for.

This control has the following methods:

Method Description
SetCatalogs Public method to set catalog search context.

Where used

ASPX Pages

  • AdvancedSearch.aspx
  • Basket.aspx
  • Catalog.aspx
  • Category.aspx
  • Default.aspx
  • Login.aspx
  • NewAccount.aspx
  • ProductDetails.aspx
  • SearchResults.aspx

Remarks

If multiple terms are entered, there is an implied logical "OR" relationship between the terms. Users must explicitly use the "and" keyword to search on "A and B".

Copyright © 2005 Microsoft Corporation.
All rights reserved.