CatalogItem2xListingControl

CatalogItem2xListingControl displays items in a two-column format based on search criteria or category filtering.

Configurable properties

Property Default Valid values or format Effect
CurrentPage
Not specified
Not specified   Sets the current page.
CurrentSortOrder
String
see GetDefaultSort()   Sets the current sort order.
PageSize
Integer
4   Sets the number of records per page.
photoLocation
String
see UsePhoto   Sets the photo location.
PhotoWidth
Integer
0   Sets the photo width.
RepeatDirection
String
"Vertical" "Horizontal" or "Vertical". Vertical displays items sorted in a top/down direction by column. Horzontal displays items sorted left to right by row Sets the direction in which sorted items are displayed in the grid.
UsePhoto
String
"Photo1" "Photo1", "Photo2", "Photo3", etc… Selects the photo to display.

SitePages.config example

The following example loads CatalogItem2xListingControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: CurrentPage, CurrentSortOrder, photoLocation.

<Control src="CatalogItem2xListingControl.ascx"
         PageSize="4"
         PhotoWidth="0"
         RepeatDirection="Vertical"
         UsePhoto="Photo1" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Inherited properties

CatalogItem2xListingControl inherits listing behavior from ListingControl and shared conditions from CyberStoreBaseControl.


This site uses Just the Docs, a documentation theme for Jekyll.