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

ComboBox Autocomplete

Thread ID:

Created:

Updated:

Platform:

Replies:

37868 Dec 1,2005 09:19 AM Dec 1,2005 09:58 AM Windows Forms 2
loading
Tags: GridControl
Paul N
Asked On December 1, 2005 09:19 AM

Hi I have a Combo in a grid and want to be able to type into the Combo, with the combo selection being filtered. Currently this works fine, except that it is case sensitive. Is there any way of disabling the case sensitivity, otherwise the feature is useless to my users? Many thanks

Administrator [Syncfusion]
Replied On December 1, 2005 09:39 AM

The default behavior is to try to ignore the case when it is appropriate. The FindItem/FindItemExact methods in the combobox renderer class accespt a paramater that tells them whether to ignore case or not. And the default implementation makes these calls with this parameter set to different values depending upon the circumstances. So, I am not sure I understand the exact problem you are seeing. Can you tell me how to see it in the sample we ship? \Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\CellTypes\ComboboxCells These Find methods are virtual, so you could derive the cell model and cell renderer classes and force all calls to these methods to ignore case, but before I try such a solution, I would need to see the problem.

Administrator [Syncfusion]
Replied On December 1, 2005 09:58 AM

Hi thanks for the quick response. After some more investigation, setting the DropDownStyle to Editable does the trick. (It was set to Exclusive previously, with its behaviour therefore making sense.) The only thing I will need to trap now is ensuring people still select something that is in the list in the first place, but that should be straightforward. Thanks for your help. paul

CONFIRMATION

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.

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.

;