maverick786us
February 6th, 2010, 02:06 AM
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??
|
Click to See Complete Forum and Search --> : Repeater Control maverick786us February 6th, 2010, 02:06 AM 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?? hspc February 6th, 2010, 09:04 AM It depends on the item template inside the repeater. You can make it a DIV with style= float:left Alsvha February 8th, 2010, 01:40 AM 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |