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

Selected Index Change

1 Answer 87 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.
Alexandre
Top achievements
Rank 1
Alexandre asked on 17 Apr 2008, 07:07 PM
Hi , i'm just doing a program with the rad combox and i can't with de selected index change event use the selected value. How can I do this.

Thanks for your help

Alex

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 21 Apr 2008, 07:46 AM
Hello Alexandre,

If your scenario concerns unbound mode, you should set the Value property for each RadComboBoxItem that you add to the RadComboBox.Items collection. Then, you will be able to get the value in the SelectedIndexChanged event handler. I have demonstrated this in the sample project attached.

Regarding the bound mode, when you set the DataSource, you should also set the DisplayMember and ValueMember properties.

If you need additional assistance, do not hesitate to contact me.

Greetings,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Alexandre
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or