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

How to bind Image in ComboBox

3 Answers 300 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nikhil Jain
Top achievements
Rank 1
Nikhil Jain asked on 04 May 2011, 11:11 AM
Hi

I need to bind the images in combobox at load . I using MVVM Pattern for my development.
 
Can anyone suggest me what should I do.

Regards

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 05 May 2011, 08:35 AM
Hello Nikhil Jain,

You should create a custom DataTemplate and set it to ItemTemplate property of RadComboBox, the approach is described here.

All the best,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Nikhil Jain
Top achievements
Rank 1
answered on 05 May 2011, 09:10 AM
Hello Yana

Thanks for your Reply. My requirement is of showing an image. So could you give me any example for the same. 

Regards
0
Yana
Telerik team
answered on 06 May 2011, 01:45 PM
Hello Nikhil,

I've attached a simple example demonstrating the approach, please download it and give it a try.

All the best,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Nikhil Jain
Top achievements
Rank 1
Answers by
Yana
Telerik team
Nikhil Jain
Top achievements
Rank 1
Share this question
or