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 |
|---|---|---|---|
CurrentPageNot specified | Not specified | Sets the current page. | |
CurrentSortOrderString | see GetDefaultSort() | Sets the current sort order. | |
PageSizeInteger | 4 | Sets the number of records per page. | |
photoLocationString | see UsePhoto | Sets the photo location. | |
PhotoWidthInteger | 0 | Sets the photo width. | |
RepeatDirectionString | "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. |
UsePhotoString | "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.