Browser Control
Provides catalog and category navigation.
Control | Description |
---|---|
Web User Control | Browser.ascx
Inherits Microsoft.CommerceServer.Site.Catalogs.CatalogBrowser |
Codebehind | Browser.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 | Returns the catalog that contains the category hierarchy when in categories mode. This property is empty when in catalogs mode. |
CurrentSelection | Returns the currently selected item following a Click event. |
MaxNumberOfItems | Gets or sets the maximum number of items displayed in the Browser control. |
Mode | Gets or sets the mode enumeration. The values are catalogs or categories. |
Path | Gets the path in the catalog hierarchy to the current category when in category mode. |
This control has the following methods:
Method | Description |
---|---|
RenderList | Renders a list of items based on the current property configuration. |
Where used
ASPX Pages
- AdvancedSearch.aspx
- Basket.aspx
- Catalog.aspx
- Category.aspx
- Default.aspx
- Login.aspx
- ProductDetails.aspx
- SearchResults.aspx
Remarks
The Browser control operates in two modes. In Catalog mode, it displays the list of Catalogs exposed through the Product Catalog System. In Category mode help us navigate the Category hierarchy one level at a time. It exposes the current location in the Category hierarchy as the Path property (which is used by the container page for display purposes).
The Browser control does not truncate or wrap catalog or category names. If the names are too long the control will expand to the right, which disfigures the page. The limit for the length of the names will depend on a number of factors and will need to be determined by testing.
Copyright © 2005 Microsoft Corporation.
All rights reserved.