We are trying to use a RadAutoCompleteBox on a Windows tablet. The use case is that a user needs to tap the field to open it and see all the results. This works fine. When the field is tapped, we do something like this...
sender, RoutedEventArgs e)
var autoCompleteBox = sender
After an item is selected, this event is fired
sender, SelectionChangedEventArgs e)
...the Telerik control puts the cursor (focus) back in the original field, which fires the _GotFocus event again, which opens the autocomplete list again.
In this cycle, it isn't possible to get the RadAutoCompleteBox to close.
Looking at the API i don't see any methods to explicitly close the list.
I could work around it if I could get any other event (non-GotFocus) to fire when the control is selected, but I haven't been able to get the RadAutoCompleteBox to respond to _Tapped or _Click type events.
Anyone have any ideas?
Requirements I'm Trying to Satisfy
- RadAutoCompleteBox must open on tap (whether there is data in the field or not)
- Selecting item should set the value and close the item list