Hi,
In my WinForms project I'm using the UltraComboEditor multiple times.
On all of them the properties are the same, and still they behave differently:
The UltraComboEditor placed on the form behaves nicely with Suggest as internetexplorer: If I type a letter it automatically drops down and shows all items that contain my entered text and highlights these!
The UltraComboEditor with all the same properties, but placed in an UltraGrid as columneditor. Does not autosuggest anything. When I type text it does not even automatically dropdown as the first one...
I also tried using the Valuelist of the column itselve with Suggestmode; doesn't give the wanted behaviour either :-(
Se here the difference:
What Im a doing wrong?
Hello oskamf,
Thank you for contacting Infragistics.
The grid is in fact is overriding the same property. You must set the column's AutoCompleteMode to "Suggest". This actually helps prevent conflicts with having the same control on the form outside of the grid. Because users may want different behavior in the grid or not. Please let me know if you have any additional questions.
this.ultraGrid1.DisplayLayout.Bands[0].Columns["DropDown Column"].AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
That solved it.
I already tried this before:
.AutoSuggestFilterMode = AutoSuggestFilterMode.Contains
Also setting the .Autocomplete property worked.
I cant say I like this design of the grid with overriding these properties... I have prepared a hidden control with all properties set and just wanted to link it to the column; now I have to change all overriding properties in code after binding to the datasource...