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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AutoCompleteControl not returning SelectedItem or SelectedText correctly

Thread ID:





79872 Mar 2,2009 10:27 PM UTC Mar 3,2009 12:34 PM UTC WinForms 1
Tags: Tools
Ashes Mukherjee
Asked On March 2, 2009 10:27 PM UTC

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.


Fathima Shalini P [Syncfusion]
Replied On 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:





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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon