We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

AutoCompleteControl not returning SelectedItem or SelectedText correctly

STEPS TO REPRODUCE:
1) Click on AutoComplete enabled ComboBox control down arrow icon button
2) Start typing, notice combobox edit part shows matching item, which is also selected (highlighted)
3) Press down arrow to select matching entry in expanded dropdown list.
4) On hitting the key, SelectedItem_Changed event is fired, however, querying Control.SelectedItem is null.

This problem is not seen when mouse is used to select matching entry from control.

Hard to provide code snippet, but can furnish more specifics on properties queried as necessary.

Thanks



1 Reply

FS Fathima Shalini P Syncfusion Team March 3, 2009 12:34 PM UTC

Hi Ashes,

Thank you for your interest in Syncfusion Products.

I have tested the issue with the simple sample in which I have added a combobox with autocomplete. I clicked the dropdown and typed in the combobox and selected the item displayed in the dropdown using arrow keys. The SelectedIndex_Changed event is not triggered and the SelectedItem property is not updated. But when selecting item using mouse the SelectedIndex_Changed event is triggered and SelectedItem property gives correct value. Please refer to the sample and videoclip provided below:

Sample:

http://files.syncfusion.com/support/Tools.Windows/7.1.0.21/F79872/main.htm

Videoclip:

http://files.syncfusion.com/support/Tools.Windows/7.1.0.21/F79872/VideoReference.zip

Could you please let me know if is this a issue you have mentioned or if I have misunderstood your requirement, could you please let me know in detail, so that I could work out in depth and provide you a better solution at the earliest?

Please let me know if any concerns.

Regards,
Fathima


Loader.
Live Chat Icon For mobile
Up arrow icon