Image is not displaying for selected Item in Rad Combobox

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

    Posted 02 Dec 2008 Link to this post

                    I am adding the images for RadCombobox items.I am able to see the images for Radcombobox items. But When I select  any of the item, the image is not getting displayed for the selected item.

                            RadComboBoxItem item;                   
                             for (int i = 0; i < dtTables.Rows.Count; i++)
                                item = new RadComboBoxItem();
                                if (dtTables.Rows[i][1].ToString() == "Table")
                                    item.Image = Image.FromFile(imagepath1);
                                    item.TextImageRelation = TextImageRelation.ImageBeforeText;
                                    item.Image = Image.FromFileimagepath2);
                                    item.TextImageRelation = TextImageRelation.ImageBeforeText;
                                item.Text = dtTables.Rows[i][0].ToString();
    Can any one please hep me regarding this issue ?
    thans in Advance.
  2. Answer
    Nick avatar
    767 posts

    Posted 05 Dec 2008 Link to this post

    Hello Ragupathi,

    Thank you for your question.

    This is not a bug, but the default behavior - we do not support images in the textbox. We are considering adding this feature to our control.

    Do not hesitate to write me back if you have more questions.

    the Telerik team

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