Hello, the Radautocompletebox is a great control, but we face the following issue: I would like to know if/how if would be possible to show all possible choices, without any filter.
To be more clear, if my Radautocompletebox has 4 choices : AA, AAB, CC, EE, is there a way to display theses choices to the users (i.e. to open the selection menu) without any filter? Of course if I type A, I will see AA and AAB, but if a user has no idea of the posisble choices there is an issue.
I tried to use for example the keydown event, and to open the menu if the user types 'enter', but without sucess.
I know that what I am asking is not ready in line with the expected use of the component...
5 Answers, 1 is accepted
Thank you for writing.
According to the provided information, I think that RadCheckedDropDownList is the appropriate control for your scenario. It combines RadDropDownList and RadAutoCompleteBox in order to provide functionality to check items in the drop down area and tokenize them in the text area. Thus, by using the arrow button, you can display all available options. In addition, when you start typing, a filter items list will be displayed. Additional information for RadCheckedDropDownList is available here: http://docs.telerik.com/devtools/winforms/dropdown-listcontrol-and-checkeddropdownlist/checkeddropdownlist/checkeddropdownlist
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Telerik by Progress
Hi Dess
I'm facing the same problem that pierre reported, but using RadCheckedDropDownList does not fit my needs.
I have the requirements that
1. the user should be allowed to freely enter values/tokens that are not in this list, too
2. a delimiter should be used to separate the tokens
I wasn't able to find a property that allows configuring any of these requirements. I guess it simply is not appropriate to use a RadCheckedDropDownList in my case, is it?
Any ideas to solve my problem? Thanks in advance.
Best regards,
Alan
Since I didn't get an answer yet, I temporarely changed my datasource having all items to have a leading space-character. It ensures that all items are listed when the user is typing space.
Quite an uggly hack to be honest. It messes up my datasource just for the sake of this feature and I'll have to clean up the data later on when processing it.
However, I wasn't able to find any better than this, since nothing is documented and the knowledge-base article for this subject
(https://www.telerik.com/support/kb/winforms/details/show-all-records-when-focusing-the-input-element-of-autocompletebox)
comes up with code for asp.net...
Is there any better solution for this? Thank you in advance.
Best regards,
Alan
Hello, Alan,
I would like to note that most of the forum threads are reviewed by Telerik representatives and sometimes we address the questions asked by our customers in the forums as well. However, a post in the forum doesn't guarantee you a response from the Telerik support team. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread. Thank you for your understanding.
As to the question at hand, I would suggest you RadAutoCompleteBox since it would be more appropriate for your scenario. You are allowed to enter free text followed by the delimiter ";". Thus, you will obtain a token for this text.
Additional information about RadAutoCompleteBox is available here: https://docs.telerik.com/devtools/winforms/controls/editors/autocompletebox/autocompletebox
The referred KB article is not related to the Telerik UI for WinForms suite. Hence, the demonstrated approach there wouldn't be suitable for the WinForms product.
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.