Hello dear Telerik team.
I am using RadDropDownList to let the user choose from four options. Those options are absolutely static, so I create four dropDownItems hardcoded. Each option has its text and image. I can define each item by a lode like :
var radListDataItem1 = new RadListDataItem();
radListDataItem1.Image = Properties.Resources.SomeImage;
radListDataItem1.Text = "Sometext";
radListDataItem1.Value = someValue;
var source = new BindingList<RadListDataItem>();
source.Add(radListDataItem1);
cmbTriggerType.DataSource = source; //cmbTriggerType is my RadDropDownList
//same for three more items
cmbTriggerType.SelectedIndex = 0;
And now here comes the question! :)
What should I do to cause your control to render each DataItem with both text and image visible?
Thanks in advance.
Artem
I am using RadDropDownList to let the user choose from four options. Those options are absolutely static, so I create four dropDownItems hardcoded. Each option has its text and image. I can define each item by a lode like :
var radListDataItem1 = new RadListDataItem();
radListDataItem1.Image = Properties.Resources.SomeImage;
radListDataItem1.Text = "Sometext";
radListDataItem1.Value = someValue;
var source = new BindingList<RadListDataItem>();
source.Add(radListDataItem1);
cmbTriggerType.DataSource = source; //cmbTriggerType is my RadDropDownList
//same for three more items
cmbTriggerType.SelectedIndex = 0;
And now here comes the question! :)
What should I do to cause your control to render each DataItem with both text and image visible?
Thanks in advance.
Artem