By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,620 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

repeater problem

P: n/a
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.
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
"suzy" <su**@spam.com> wrote in message
news:LM******************@pathologist.blueyonder.n et...
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.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.