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

selectedItem always null

1 Answer 76 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
OverCoded
Top achievements
Rank 2
OverCoded asked on 16 Aug 2010, 05:17 PM
I have an editable data bound combobox. I need to know when the user is making a selection or editing.  On the selection changed event I use the prescribed method to capture the selected item "RadComboBoxItem selectedItem = chemical.SelectedValue as RadComboBoxItem;" . However selectedItem is always null even when chemical.SelectedValue is not. I have verified this using a line break in the code. What gives?

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 17 Aug 2010, 03:52 PM
Hello Mark Coe,

Thank you for contacting us.

This is really strange behaviour. Could you please send us a sample project in which we can observe the issue or paste us the code of the ComboBox? In that way we will be able to assist you in a timely manner.

Looking forward to your reply.

Best wishes,
Konstantina
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
OverCoded
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Share this question
or