CS 2002 product collection search options
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > CS 2002 product collection search options




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    CS 2002 product collection search options  
James


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: CS 2002 product collection search options  
Vinayak Tadas [MS]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-29-04 02:35 AM

What method are you trying to call?

Thanks
Vinayak Tadas
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure!  For more info visit http://www.microsoft.com/security.  Please
reply to the newsgroups only.  Thanks

"James" <luke_james32@hotmail.com> wrote in message
news:d128285e.0404280658.3770ff29@posting.google.com...
> 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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:46 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register