This question is locked. New answers and comments are not allowed.
Hi,
I have used ComboBox to simulate AutoCompleteBox,
and the settings like following.
The problem is that I want to input values that are not exist in ItemsSource.
For example, I have a list contains values of "01 A" "02 B" "03 C" and "04 D" , and set it into ItemsSource of AutoCompleteBox above.
Then I may input "01 A" , it is exist in list above,so it's OK.
But I also want to input values like "01" or "ABC" , because they are not exist in ItemsSource, when I lost focus from AutoCompleteBox above,the value I inputted will disappear.
There is any way to let me input values that are not exist in ItemsSource of ComboBox?
Best Regards,
Liu
I have used ComboBox to simulate AutoCompleteBox,
and the settings like following.
<Style x:Key="AutoCompleteBoxStyle" TargetType="telerikInput:RadComboBox"> <Setter Property="IsEditable" Value="True" /> <Setter Property="IsFilteringEnabled" Value="True" /> <Setter Property="CanAutocompleteSelectItems" Value="False" /> <Setter Property="TextSearchMode" Value="Contains" /> <Setter Property="StaysOpenOnEdit" Value="True" /> <Setter Property="OpenDropDownOnFocus" Value="True" /> <Setter Property="CanKeyboardNavigationSelectItems" Value="False" /></Style>The problem is that I want to input values that are not exist in ItemsSource.
For example, I have a list contains values of "01 A" "02 B" "03 C" and "04 D" , and set it into ItemsSource of AutoCompleteBox above.
Then I may input "01 A" , it is exist in list above,so it's OK.
But I also want to input values like "01" or "ABC" , because they are not exist in ItemsSource, when I lost focus from AutoCompleteBox above,the value I inputted will disappear.
There is any way to let me input values that are not exist in ItemsSource of ComboBox?
Best Regards,
Liu
