You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > ProductList Class > ProductList Properties > SortMode
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ProductList.SortMode Property

Select the default way the product list is sorted when a site visitor first views the page. Once the page is loaded, a site visitor can sort the list from a drop down list. Choices are:

  • Title - sorts in alphabetical order.
  • SKU - sorts by the product number. This number is typically a unique number supplied by the producer of the item.
  • Price Descending - sorts by price from highest to lowest.
  • Price Ascending - sorts by price from lowest to highest.

C#
[Category("Ektron")]
[TypeConverter(typeof(SortModes))]
[Description("Select the default way the product list is sorted when a site visitor first views the page. Once the page is loaded, a site visitor can sort the list from a drop down list. Choices are: Title, SKU, Price Ascending and Price Descending")]
[DefaultValue("SortModes.None")]
public SortModes SortMode;
Visual Basic
<Category("Ektron")>
<TypeConverter(typeof(SortModes))>
<Description("Select the default way the product list is sorted when a site visitor first views the page. Once the page is loaded, a site visitor can sort the list from a drop down list. Choices are: Title, SKU, Price Ascending and Price Descending")>
<DefaultValue("SortModes.None")>
Public Property SortMode() As SortModes
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!