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

How to add gif file in rad combobox item

1 Answer 47 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.
Ragupathi
Top achievements
Rank 1
Ragupathi asked on 29 Aug 2008, 04:25 AM
Hi,
How to add images (.gif) in to the Radcombobox. wincontrols

Thanks in Advance.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 01 Sep 2008, 03:18 PM
Hi Ragupathi,

There are two approaches you can follow in order to set images to RadComboBox:
  1. Assign an ImageList to the RadComboBox and set the ImageIndex for each of its RadComboBoxItems.
  2. Directly set the Image property of a RadComboBoxItem to an image.
In the Quick-Start Framework, section Editors >> RadComboBox >> First Look, we have an example of binding RadComboBox to a DataTable combined with assigning an ImageList. The values in one of the columns in the DataTable determine which image of the ImageList should be set to which RadComboBoxItem.

If you have additional questions, feel free to contact me.

 
Greetings,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Ragupathi
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or