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

radlistbox with multiple images

1 Answer 136 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gerbrand
Top achievements
Rank 1
Gerbrand asked on 17 Jan 2008, 10:50 AM
Hi,
I was wondering if it is possible to add multiple images to a radlistbox.
What I want to do is this:
I'm showing a list of files (txt or xml) I'm showing with a small image if the file is a txt or xml file. And I also want to add an error image when the file length is smaller then x kb. If it's not possible I'm going to solve it other wise.

thanks in advanced.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 18 Jan 2008, 04:34 PM
Hi Gerbrand,

Thank you for writing.

It is possible to add multiple images to a RadListBox, but you will have to extend the RadListBoxItem class and change the structure of the ListBox item.

For additional information please refer to this Knowledge Base article: Implementing checkbox items in RadComboBox , or to this forum post: Using RadSplitButton and RadListBox , where other examples of extending the RadListBoxItem class are described.

Also, I am sending you a sample application illustrating your scenario - adding two images to the custom RadListBoxItem.

Should you have additional questions, do not hesitate to contact us.

Greetings,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Gerbrand
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or