Hi,
are there changes in behavior of AutoCompletMode.SuggestAppend between versions 14.2.20142.2010 and 14.2.20142.2168 ?
I.e. there is given a DropDownList with some countries: L, S, SK, SLO
Old version: Input keys S-L -> Suggestion (like expected) is "SLO"
Newer version: Input keys S-L -> Suggestion is "L". Pressing S three times -> result is "SLO".
Thank you for help. Regards,
Olaf
Regretfully I must confess, that it was my mistake. Formerly I used the obsolete AutoComplete = true. The advice is, to replace it with AutoCompleteMode = AutoCompleteMode.Append. My mistake was to use AutoCompleteMode = AutoCompleteMode.SuggestAppend. But I don´t understand the difference exactly.
Hi Olaf,
I am glad to hear that you have resolved your issue. Please let me know if you have any additional questions.
Thank you for using Imfragistics Components.
Hi Milko,
the last problem ist, how AutoCompleteMode.SuggestAppend should work by design. In my case there seems to be no effect like no autocomplete.
Hello Olaf,
Thank you for your feedback.
When you set AutoCompleteMode to Append UltraComboEditor will append to the end of the entered string the reminder of most likely candidate string and will highlight the appended characters. When AutoCompleteMode is set to Suggets the combo will be dropped down automatically and will filter only the items starting with what the user has entered in the text field. When you set AutoCompleteMode to SuggestAppend it is actually combines both these – appending the most likely candidate string and filter the values in the drop down. More about AutoCompleteMode enumeration you may find by following the next link http://help.infragistics.com/Doc/WinForms/current/CLR4.0/?page=Infragistics4.Win.v15.2~Infragistics.Win.AutoCompleteMode.html. Please check also this link with additional information about AutoCompleteMode http://help.infragistics.com/Doc/WinForms/current/CLR4.0/?page=Infragistics4.Win.UltraWinGrid.v15.2~Infragistics.Win.UltraWinGrid.UltraGridColumn~AutoCompleteMode.html.
Thank you for using Infragistics Components.
Hello Milko,
yes, but something went wrong for me setting it to SuggestAppend like desribed in my first post:
I.e. there is given a DropDownList with some countries: L, S, SK, SLO and AutoCompleteMode = SuggestAppend.
Input keys S-L -> Display value is "L". Pressing S three times -> result is "SLO".
I expect after S and L the display value "SLO" and not "L".
With kind regards, Olaf
Following the steps you have described I have tried to reproduce this behavior. I have created a small sample project with one UltraComboEditor. I have added L, S, SK and SLO as editor’s items. I have set AutoCompleteMode to SuggestAppend. When I enter SL in the editor it displays SLO and when I enter SSS nothing is shown in the editor.
In the attached archive I am sending you the sample I have tested with. Please check my sample and let me know if you experiencing the same behavior.
Please, if my sample does not show correctly the logic you are implementing fill free to modify it and send it back to me, or if you have a sample of your own demonstrating this behavior please send it to me so I can investigate further this.
Looking forward to your reply.
your example is working like expected. But in my example there is Me.UltraComboEditor1.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList. If I set it in your program, I can reproduce 'my' described behavior.
Best regards,
That is the point that I mistunderstood
(1) For the combination DropDownList and AutocompleteMode=Append I get my expected behavior S-L ==> SLO
(2) For the combination DropDownList and AutocompleteMode=SuggestAppend I get S-L ==> L
For case (1) I have no type-in edit window, but the search is working respecting probably the value in KeyBoardSearchInterval with the default of 1000 milliseconds.
For case (2) there seems to be no searchinterval.
For me it is O.K. to find out, that case (1) is working like the old AutoComplete = true.
Thank you for your help.
This is expected scenario. AutoCompleteMode is designed to match based on what is typed into the combo’s edit window. When the DropDownStyle is set to DropDownList you cannot type in the edit window and UltraComboEditor does not take into account the value of AutoCompleteMode.
Please let me know if you need any additional information.