radlistbox with multiple images

Thread is closed for posting
2 posts, 0 answers
  1. Gerbrand
    Gerbrand avatar
    5 posts
    Member since:
    Dec 2007

    Posted 17 Jan 2008 Link to this post

    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.
  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 18 Jan 2008 Link to this post

    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top