The RadComboBox' SelectedIndex
property will return -1 if none of its items is selected. If at that moment you use it to access an item in the ComboBox' items collection, for example:
attr = RadComboBox1.Items[RadComboBox1.SelectedIndex].Attributes[
exception will be returned.
If an item is selected the SelectedIndex
property will correctly return its index and you will be able to use the property's value.
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?
Telerik Feedback Portal
and vote to affect the priority of the items