Share via


NavigationTabs Control

Displays the navigation tabs.

Control Description
Web User Control NavigationTabs.ascx

Inherits Microsoft.CommerceServer.Site.Catalogs.CatalogNavigationTabs

Codebehind CatalogNavigationTabs.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
SelectedIndex Sets or gets the currently selected item in the tabs list by position.
Catalog Sets or gets the currently selected catalog when the control is used in a catalog context.
Url Gets the URL associated with the current tab selection when the control is used in contexts other than the catalog.

This control has the following methods:

Method Description
SetTabs Renders the control, either as the default catalog navigation tabs or as a set of configurable tabs with associated URLs.

Where used

ASPX Pages

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

Remarks

The default behavior of this control is to display a tab representing the home page and tabs for the first three catalogs in the current catalog set.

The CatalogNavigationTabs control does not truncate the catalog names. If the catalog names are too long, it will limit the number of tabs that can be displayed at one time. This can impact catalog discoverability and site usability.

Copyright © 2005 Microsoft Corporation.
All rights reserved.