Commerce Server General - Product display options

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > October 2005 > Product display options





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Product display options
cgruber

2005-10-12, 6:12 pm

Hi all,
What is the easiest way to display products in more than one
column?

Heres a good example of what I want to do:
http://www.relaygear.com/ProductSea...WS=&LN=&pF=&pT=

Thanks,
Chris

Zoe Hart [MVP]

2005-10-12, 6:12 pm

It depends whether you're working in ASP.NET or ASP. In ASP.NET we do that
type of display with a DataList control that has an attribute to control the
number of columns. It's been a while since I did a similar thing in ASP, but
I think you basically need to process your data in a pair of nested loops
used to render an HTML table - the outer loop handling the table rows and
the inner loop handling the table cells or columns for each row. And you
need a little logic at the end to finish off a potentially incomplete row
with the necessary number of empty cells.

--
Zoe Hart
Commerce Server MVP

"cgruber" <cgruber@bgnet.bgsu-dot-edu.no-spam.invalid> wrote in message
news:MsydneXGoNCPwdHeRVn_vA@giganews.com...
> Hi all,
> What is the easiest way to display products in more than one
> column?
>
> Heres a good example of what I want to do:
> http://www.relaygear.com/ProductSea...WS=&LN=&pF=&pT=
>
> Thanks,
> Chris
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com