O
Owen Blacker
Bear with me, this query isn't fun.
I'm building an e-commerce site and the Information Architecture for
the
Product Comparison page requires repeating horizontally:
+----------+--------------+--------------+--------------+--------------+
| | [Image] | [Image] | [Image] | [Image]
|
| | | | |
|
| | Product name | Product name | Product name | Product
name |
| | as hyperlink | as hyperlink | as hyperlink | as
hyperlink |
| | | | |
|
| | Price | Price | Price | Price
|
| | | | |
|
| | Description | Description | Description |
Description |
+----------+--------------+--------------+--------------+--------------+
| Product specifications (colspanned)
|
+----------+--------------+--------------+--------------+--------------+
| Weight | #### kg | #### kg | #### kg | #### kg
|
+----------+--------------+--------------+--------------+--------------+
| Material | Blah blah | Blah blah | Blah blah | Blah blah
|
+----------+--------------+--------------+--------------+--------------+
| Another | Blah blah | Blah blah | Blah blah | Blah blah
|
| detail | blah blah | blah blah | blah blah | blah blah
|
+----------+--------------+--------------+--------------+--------------+
where the number of products being compared is variable. (To
complicate
matters further, I don't necessarily know what the row headers on the
left
are either, as they vary by product type, but that's another issue and
isn't why I'm mailing the list.)
Now the data need to be in a table, obviously, but can't be in more
than
one table, as that would completely destroy the accessibility of the
page.
I can't see how I could use a regular Repeater control, as the
ItemTemplate
can't contain <tr> or </tr> tags (which would cause each product-column
to
scroll *down* the page, rather than *across* it.
I can't see how I could use a DataGrid, as the first row contains much
more
complex data (an image, a hyperlink, some text and so on).
Does anyone have *any* ideas on how I might databind my source to
*something*
so this might work?
All suggestions greatly appreciated. If people could cc: me on any
replies,
so I notice them that little quicker, that would be even better.
Thanks, everyone,
Owen Blacker
--
Owen Blacker
Senior Software Developer
Wheel: insight | thinking | creativity
(e-mail address removed) www.wheel.co.uk
I'm building an e-commerce site and the Information Architecture for
the
Product Comparison page requires repeating horizontally:
+----------+--------------+--------------+--------------+--------------+
| | [Image] | [Image] | [Image] | [Image]
|
| | | | |
|
| | Product name | Product name | Product name | Product
name |
| | as hyperlink | as hyperlink | as hyperlink | as
hyperlink |
| | | | |
|
| | Price | Price | Price | Price
|
| | | | |
|
| | Description | Description | Description |
Description |
+----------+--------------+--------------+--------------+--------------+
| Product specifications (colspanned)
|
+----------+--------------+--------------+--------------+--------------+
| Weight | #### kg | #### kg | #### kg | #### kg
|
+----------+--------------+--------------+--------------+--------------+
| Material | Blah blah | Blah blah | Blah blah | Blah blah
|
+----------+--------------+--------------+--------------+--------------+
| Another | Blah blah | Blah blah | Blah blah | Blah blah
|
| detail | blah blah | blah blah | blah blah | blah blah
|
+----------+--------------+--------------+--------------+--------------+
where the number of products being compared is variable. (To
complicate
matters further, I don't necessarily know what the row headers on the
left
are either, as they vary by product type, but that's another issue and
isn't why I'm mailing the list.)
Now the data need to be in a table, obviously, but can't be in more
than
one table, as that would completely destroy the accessibility of the
page.
I can't see how I could use a regular Repeater control, as the
ItemTemplate
can't contain <tr> or </tr> tags (which would cause each product-column
to
scroll *down* the page, rather than *across* it.
I can't see how I could use a DataGrid, as the first row contains much
more
complex data (an image, a hyperlink, some text and so on).
Does anyone have *any* ideas on how I might databind my source to
*something*
so this might work?
All suggestions greatly appreciated. If people could cc: me on any
replies,
so I notice them that little quicker, that would be even better.
Thanks, everyone,
Owen Blacker
--
Owen Blacker
Senior Software Developer
Wheel: insight | thinking | creativity
(e-mail address removed) www.wheel.co.uk