How to add gif file in rad combobox item

Thread is closed for posting
2 posts, 0 answers
  1. Ragupathi
    Ragupathi avatar
    41 posts
    Member since:
    Jul 2008

    Posted 28 Aug 2008 Link to this post

    How to add images (.gif) in to the Radcombobox. wincontrols

    Thanks in Advance.
  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 01 Sep 2008 Link to this post

    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.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top