Thanks for writing.
I am not quite sure that I correctly understand your scenario. Do you mean that you have two strings "Not set" in your collection? If this is the case, this will not work either way - with or without SelectedIndex -
since both strings will always be equal and thus the selection mechanism would not differentiate between them.
Basically, if we add a SelectedIndex
property it will be automatically initialized with the index of the currently
selected item. Therefore, if the selection is not correctly working due to the fact that there are equal items in the source collection, this property will not return the correct selection index as well.
To solve this case you should simply add a collection of some kind of simple business objects and display a given property exposed on them which might or might not have the same value on different objects. The selection mechanism will differentiate between the different objects by their references.
I hope this helps.
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>