Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > repeater problem

Reply
Thread Tools

repeater problem

 
 
suzy
Guest
Posts: n/a
 
      05-05-2004
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.


 
Reply With Quote
 
 
 
 
Lerp
Guest
Posts: n/a
 
      05-11-2004
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" <(E-Mail Removed)> wrote in message
news:LMdmc.11032$(E-Mail Removed) 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.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
repeater inside a repeater problem. uncensored ASP .Net 0 10-25-2006 06:10 PM
Repeater inside a Repeater Microsoft ASP .Net Web Controls 0 08-21-2006 09:13 AM
Repeater inside a repeater....how? voidfill3d@yahoo.com ASP .Net 1 08-10-2005 01:58 PM
Repeater Using Javascript Referencing a Column in the Repeater rwoo_98@yahoo.com ASP .Net 0 02-26-2005 05:02 PM
Repeater control with nested repeater chris.reed@digus.com ASP .Net 0 02-11-2005 05:10 PM



Advertisments