Product display options
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Product display options

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
cgruber
Guest





Posted: Wed Oct 12, 2005 12:50 am    Post subject: Product display options Reply with quote

Hi all
What is the easiest way to display products in more than on
column

Heres a good example of what I want to do
http://www.relaygear.com/ProductSearch/PSProductResults.aspx?SCAT_Id=463&DPSV_Id=147504&CATY_Id=5&ASI=&WS=&LN=&pF=&pT

Thanks
Chri
Back to top
Zoe Hart [MVP]
Guest





Posted: Wed Oct 12, 2005 12:50 pm    Post subject: Re: Product display options Reply with quote

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...
[quote]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/ProductSearch/PSProductResults.aspx?SCAT_Id=463&DPSV_Id=147504&CATY_Id=5&ASI=&WS=&LN=&pF=&pT=

Thanks,
Chris
[/quote]
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB