|
-
February 6th, 2010, 03:06 AM
#1
Repeater Control
Is there any way I can bound data inside a repeater and display it Horizontally instead of vertically? If not can it be achieved in DataList??
-
February 6th, 2010, 10:04 AM
#2
Re: Repeater Control
It depends on the item template inside the repeater. You can make it a DIV with style= float:left
-
February 8th, 2010, 02:40 AM
#3
Re: Repeater Control
Basically - you, yourself, define what HTML to use in a Repeater, which is the strong point with repeaters.
As suggested by the poster above, you can simply write the HTML (a div, and float) in your item template, and that's what will be printed out per item.
A thing to remember when printing horizontal, however, is make sure your content can fit on the page, and be sure to handle breaking of the lines in case content becomes too wide.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|