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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBound ComboBox Text Cleared after losing focus

Thread ID:





22630 Dec 16,2004 08:00 PM UTC Dec 17,2004 08:36 PM UTC WinForms 1
Tags: FAQ
Wei Cheng
Asked On December 16, 2004 08:00 PM UTC

The ComboBox is dropdown style, if user type in something not on the list and try to move the focus away from the combobox, the text area is cleared right away. The Text value still was available within the LostFocus event handler, but after that it is gone. Any one know how to avoid the Text being cleared out?

Wei Cheng
Replied On December 17, 2004 08:36 PM UTC

End up saving the Text value in a form variable and retrieve it later from that variable-kind of clumsy but good enough for now. Any better way doing this still plz post here.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon