04-28-04 04:36 PM
Hi,
I am trying to specify the order of products when displayed using the
ProductListControl. Problem is that it doesn't use the search options
i supply, any suggestions much appreciated.
I am specifying the relevant search options using the code below:
ProductCollection productList = new ProductCollection(catalogName,
categoryName, null);
CatalogSearchOptions searchOptions = new CatalogSearchOptions();
searchOptions.ClassTypes = CatalogClassTypes.ProductFamilyClass;
searchOptions.SortProperty = "Name";
searchOptions.SortAscending = true;
productList.SearchOptions = searchOptions;
TIA
Luke
[ Post a follow-up to this message ]
|