repeater problem

S

suzy

hello,

i have a dataset and repeater control. i can manage to display the items in
1 column by doing something like:

<headertemplate>
<table>
</headertemplate>

<itemtemplate>
<tr>
<td>[item goes here]</td>
</tr>
</itemtemplate>

<footertemplate>
</table>
</footertemplate>



what i want to do though, is show all the items across 3 columns, ie:

item1 item2 item3
item4 item5 item6
item7 item8 item9

etc.


how can i do this? i want to try and avoid using the xsl transform method
because i want the items to be server controls (check boxes).

thanks a lot.
 
L

Lerp

Hi,

You could use a datalist control instead of the repeater...it has a built in
attribute where you can specify the number of columns to be displayed
horizontally.

Cheers, Lerp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Customize Repeater Control 0
repeater 0
Why image is not showing in repeater 1
Repeater 1
repeater eval problem 2
Nested Repeater within Grid 0
Accessing Checkboxes in Repeater control 2
Repeater Problem 4

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top