Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to display this using the asp:Repeater ctrl?

Reply
Thread Tools

How to display this using the asp:Repeater ctrl?

 
 
mehdi.mousavi@gmail.com
Guest
Posts: n/a
 
      09-03-2005
Hi,
Consider the following HTML:

<table border="1" width="100%">
<tr>
<td>
<img border="0" src="myimage1.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage2.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage3.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage4.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage5.jpg" width="50" height="50"></td>
</tr>
<tr>
<td>
<img border="0" src="myimage6.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage7.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage8.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage9.jpg" width="50" height="50"></td>
<td>
<img border="0" src="myimage10.jpg" width="50" height="50"></td>
</tr>
</table>

myimage1 ... myimage10 is already populated into an arraylist. How can
I display the above-mentioned html using the ASP.NET Repeater Ctrl?

TIA,
Mehdi

 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      09-04-2005
Mehdi,

You need to use a datalist control. With it you can set property
RepeatDirection to Horizontal and RepeatColumns to 5.

Eliyahu

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hi,
> Consider the following HTML:
>
> <table border="1" width="100%">
> <tr>
> <td>
> <img border="0" src="myimage1.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage2.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage3.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage4.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage5.jpg" width="50" height="50"></td>
> </tr>
> <tr>
> <td>
> <img border="0" src="myimage6.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage7.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage8.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage9.jpg" width="50" height="50"></td>
> <td>
> <img border="0" src="myimage10.jpg" width="50" height="50"></td>
> </tr>
> </table>
>
> myimage1 ... myimage10 is already populated into an arraylist. How can
> I display the above-mentioned html using the ASP.NET Repeater Ctrl?
>
> TIA,
> Mehdi
>



 
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
Not able to display color in excel not able to display color in excel using xml sed_y XML 0 02-15-2012 09:46 PM
Display byte array back to pdf and display in IE SG Java 6 01-15-2008 01:02 PM
choosing to display or not to display a checkbox in repeater control. Imran Aziz ASP .Net 4 08-11-2005 05:00 PM
Double double display display problem problem Tom Accuosti Firefox 3 09-27-2004 10:02 PM
Display and display model Marc Twain Java 1 01-13-2004 07:05 PM



Advertisments