HighlightedIndex is lost when the drop down is opened and the ItemsSource is replaced.
Hi Pooja, We received your support ticket and we will respond to you in that thread.
Hi Vladimir, Overriding Equals does not resolve the highlighting issue completely. If I type 'A' and the first item in the dropdown is Country{Name=Austrialia} it gets highlighted, then the ItemSource changes and the first item now is Country {Name=Austria}. Austria is not getting highlighted. The source changes again and now the Country{Name=America} gets highlighted. The issue here is with the InvalidateHighlightedIndex method in the AutoCompleteHelper.cs. I had also posted this info @ http://www.telerik.com/forums/autocompletebox-loses-highlighting-when-the-item-collection-changes-while-the-autocompletebox-is-active-and-the-popup-is-open-66b627941d96 Regards, Pooja
Hi Pooja, We tested the issue with both the old and the new 2014.3.1103 version of RadAutoCompleteBox and the issue is not reproducible in that version of the control. I recorded a short video shows the observed behavior on outside. Note that if your ItemsSource collection contains custom business objects in order for the highlighted item to not be lost in the described reset scenario you will need to override that business object's Equals() method. This is necessary because of the way the .NET Framework sometimes compares custom objects. If you continue to experience issues please open a new support thread and continue the discussion there.
Hi Vladimir, We tried using the 2014.3.1103 internal build and the problem still exists. The highlighting disappears when the drop down is open and the ItemsSource of the control is replaced. Issue - http://www.telerik.com/forums/autocompletebox-loses-highlighting-when-the-item-collection-changes-while-the-autocompletebox-is-active-and-the-popup-is-open-66b627941d96 Regards, Pooja
The fix for this issue is available in our 2014.3.1103 internal build.
Thank you, I see the status now is completed. Which release will fix this bug?