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??
Printable View
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??
It depends on the item template inside the repeater. You can make it a DIV with style= float:left
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.