Share via


VariantDisplay Control

Displays variant options for user selection.

Control Description
Web User Control VariantDisplay.ascx

Inherits Microsoft.CommerceServer.Site.Catalogs.VariantDisplay

Codebehind VariantDisplay.ascx.cs
Project File Catalogs\vb\Catalogs VB Controls.csproj
Namespace Microsoft.CommerceServer.Site.Catalogs
DLL / Assembly Microsoft.CommerceServer.Retail2002.Catalogs.dll

Where used

ASPX Pages

  • ProductDetails.aspx

Remarks

Initially, all values for each property are shown in the variant drop-down lists. The user can select a value for any property, and the other drop-down lists will be repopulated with all the values that match with that selection. This process can be continued until the user has narrowed the possibilities to a single variant.

For example, if a particular color is only available in certain sizes, selecting that color will limit the possible sizes to those sizes available in that color. Conversely, selecting a size that is not available in that color will eliminate that color from the color drop-down list.

If the user clicks the "Reset Variant Data" button, all the variant information is reset to the state where all values are shown for all properties and none are selected.

Copyright © 2005 Microsoft Corporation.
All rights reserved.