selectedItem always null

2 posts, 0 answers
  1. OverCoded
    OverCoded avatar
    34 posts
    Member since:
    Mar 2010

    Posted 16 Aug 2010 Link to this post

    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?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 17 Aug 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top