This question is locked. New answers and comments are not allowed.
Hello,
I want to use the RadComboBox to display a set of options. The user should be able to "create" his own option by typing in the ComboBox. To achieve this, I have declared the RadComboBox as such:
The Items collection is an ObservableCollection<string>, containing "A", "B" and "C". What I want, is that the ComboBox text is set to Z upon startup. The user can pick "A", "B" or "C" from the list, or he can edit "Z".
Why is the ComboBox blank upon startup? I have also tried the SelectedValue property, but that did not work either. How can I get the desired behavior?
Kind regards,
Beijerinc
I want to use the RadComboBox to display a set of options. The user should be able to "create" his own option by typing in the ComboBox. To achieve this, I have declared the RadComboBox as such:
<
telerikinput:RadComboBox
SelectedItem
=
"Z"
ItemsSource
=
"{Binding Items}"
IsEditable
=
"True"
TextSearchMode
=
"StartsWith"
CanAutocompleteSelectItems
=
"True"
CanKeyboardNavigationSelectItems
=
"True"
/>
The Items collection is an ObservableCollection<string>, containing "A", "B" and "C". What I want, is that the ComboBox text is set to Z upon startup. The user can pick "A", "B" or "C" from the list, or he can edit "Z".
Why is the ComboBox blank upon startup? I have also tried the SelectedValue property, but that did not work either. How can I get the desired behavior?
Kind regards,
Beijerinc