This is a migrated thread and some comments may be shown as answers.

Listview columns

2 Answers 165 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Mirsad
Top achievements
Rank 1
Mirsad asked on 15 Oct 2012, 09:38 PM
Hi! I am new with using the radlistview control. I am trying to mimic a very basic photo gallery to play with this listview control. I just want to display 9 images at a time, in columns of 3 (3x3). While I can get the images and titles to display. I can only get 1 column that shows all 9 images. Is there anything special I need to set to get my 3 "columns." There might be a pretty simple answer for this but I haven't found it yet. Thanks!

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Oct 2012, 05:19 AM
Hi Mirsad,

You can use LayoutTemplate and ItemTemplate to customize your RadListView. Please take a look into the following links for more information.

Custom Layouts
Predefined Layouts
Declarative Definition
ListView / ListView data with images from database
ListView / Predefined layouts

Please elaborate your scenario if it doesn't helps.

Regards,
Princy.
0
Accepted
NEX
Top achievements
Rank 1
answered on 30 Nov 2012, 09:47 AM
The fix is that you have to use style="float: left" attribute in the container (table or div) tag.
Tags
ListView
Asked by
Mirsad
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
NEX
Top achievements
Rank 1
Share this question
or