Is there a way to get the current Text of the RadAutoCompletBox? It appears to me that you currently need to bind to both SearchText and Selected Item which doesn't feel right to me. Here is an example of my xaml
<telerik:RadAutoCompleteBox SelectionMode="Single"
ItemsSource="{Binding Items}"
SearchText="{Binding SearchText, Mode=TwoWay}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}" />
Items is just a List<string>
Say for instance we are looking for the string "telerik". I type in "te" then hit tab key, the autocompletebox text is telerik.. however if i look at the SearchText it is just "te" and the SelectedItem is telerik. Which leads me to have to check if SelectedItem is null then use SearchText else use SelectedItem. Am i missing something here? Seems like i should be able to just bind to the Text.
I am currently using RadControls for WPF v.2012.1224.40 (Dev)
<telerik:RadAutoCompleteBox SelectionMode="Single"
ItemsSource="{Binding Items}"
SearchText="{Binding SearchText, Mode=TwoWay}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}" />
Items is just a List<string>
Say for instance we are looking for the string "telerik". I type in "te" then hit tab key, the autocompletebox text is telerik.. however if i look at the SearchText it is just "te" and the SelectedItem is telerik. Which leads me to have to check if SelectedItem is null then use SearchText else use SelectedItem. Am i missing something here? Seems like i should be able to just bind to the Text.
I am currently using RadControls for WPF v.2012.1224.40 (Dev)