HI.
In the following example, I use a RadComboBox with TextSearchMode="Startswith".
<telerik:RadComboBox
ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}},Path=DataContext.Sagsbehandler}"
SelectedValue="{Binding SagsbehandlerId, ValidatesOnDataErrors=True, UpdateSourceTrigger=LostFocus}"
SelectedValuePath="SagsbehandlerId"
DisplayMemberPath="Navn"
IsEditable="True"
TextSearchMode="StartsWith"
>
When typing the first letters of an item in the itemssource, the first match is selected/autocompleted in the editable area.
However: If I change TextSearchMode to "Contains", there is no autocompletion as I initially would have expected. Only the typed text is shown and the user has no clue if the typed text has any match in the itemssource.
How can I change this behaviour? That is, how can I enable autocompletion when using a contains search.
In the following example, I use a RadComboBox with TextSearchMode="Startswith".
<telerik:RadComboBox
ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}},Path=DataContext.Sagsbehandler}"
SelectedValue="{Binding SagsbehandlerId, ValidatesOnDataErrors=True, UpdateSourceTrigger=LostFocus}"
SelectedValuePath="SagsbehandlerId"
DisplayMemberPath="Navn"
IsEditable="True"
TextSearchMode="StartsWith"
>
When typing the first letters of an item in the itemssource, the first match is selected/autocompleted in the editable area.
However: If I change TextSearchMode to "Contains", there is no autocompletion as I initially would have expected. Only the typed text is shown and the user has no clue if the typed text has any match in the itemssource.
How can I change this behaviour? That is, how can I enable autocompletion when using a contains search.