Hi guys,
How to :
1) Focus control ? By focus I mean that keyboard should pop up, and now after calling Focus nothing happens.
2) Change styling of text box ?
3) Dynamicaly load suggested items on the fly?
4) Change the message of "no items found" ?
Best Regards
5 Answers, 1 is accepted
Actually, the questions you have raised are reasonable as most of the functionalities are logged in our internal system so we can add them to the current implementation of the control.
1. I have logged the behavior as a bug in our internal system - AutoComplete: Explicitly calling Focus does not show the keyboard.
2. We have a feature request already logged regarding this - AutoComplete: Modify Watermark element properties separately. I have added your report to the item so that its priority is increased. I suggest you follow the item in order to subscribe for further notifications.
3. I am not very sure of the functionality you are aiming at, as with the current implementation typing the specific symbol would cause the ItemsSource collection to be filtered and only the items matching the criteria will be present. Can you please elaborate on your scenario so we can consider a possible approach that fits your specific requirement?
4. Again, we have the functionality logged as a feature request at our and you can follow it in our Ideas & Feedback portal - AutoComplete: Expose property to easily customize the "No Results Found" message.
Regards,
Stefan Nenchev
Progress Telerik
Hey Stefan,
What I meant by point 3 is that we had a use case scenario when we had fetch the server for list of suggestions after user providing first 3 letters as our database was rather big for mobile. And in that scenario unfortunately when binding on the fly to the control on android it crashed.
My best guess was that if we replace collection on the fly some kind of internal reference was pointing to null.
Also on iOS he property of ShowSuggestions is not working correctly. It does not hide suggestion with "no items found" label.
Thanks for your cooperation
I tried reproducing the behavior on Android when changing the ItemsSource on run time but was not able to. However, the scenario I am testing is quite basic. Would it be possible to provide a sample that shows the issue so we can investigate it further with your exact setup?
I was not able to reproduce the secondary issue as well when I have set the ShowSuggestionView to False. Can you confirm whether you are using the Forms AutoComplete control? Would it be possible to provide the declaration of the control?
Regards,
Stefan Nenchev
Progress Telerik
Hello Stefan,
Do you have any idea if it's possible to hide the keyboard once you select an item ?
The only workaround I found was to use a platform specific service with DI (KeyboardService) to hide the keyboard. It works well on Android but I can't make it work on iOS.
I've past my code in this thread : telerik RadAutoCompleteView
Anyway, this control is really nice and works like a charm for a beta control.
If you ever have an idea, don't hesitate to give me advice or some code, it would be awesome.
Have a good day !
Thank you for your feedback regarding our new AutoCompleteView control.
The behavior you are observing with the keyboard is the expected one because the RadAutoCompleteView is focused. Currently, this is how the control is expected to work and there is not suitable approach that we can suggest you for changing this behavior.
Let me know if you have any additional questions or concerns.
Regards,
Didi
Progress Telerik