Hi!,
I created an editable RadComboBox with filtering feature using the next code:
IsEditable =
true
;
IsFilteringEnabled =
true
;
CanAutocompleteSelectItems =
true
;
OpenDropDownOnFocus =
true
;
StaysOpenOnEdit =
true
;
TextSearchMode = TextSearchMode.StartsWith;
The behaviour is correct but the styles changes and doesn't use the same styles of the RadComboBox (Image 1 of the attached files).
Then when set EditableTemplate in the styles of the RadComboBox using the same of default Template, the behaviour of the combo crash: the background color change and the selected item isn't shown (Image 2 of the attached files).
<Style x:Key=
"TelerikPortfolioDropDownStyle"
TargetType=
"telerikInput:RadComboBox"
>
<Setter Property=
"Template"
Value=
"{StaticResource NonEditableComboBox}"
/>
<Setter Property=
"EditableTemplate"
Value=
"{StaticResource NonEditableComboBox}"
/>
...
I attached 3 images:
1) Filterable ComboBox without styles
2) Filterable ComboBox with EditableTemplate that use the same template of RadComboBox.
3) Desirable Filterable ComboBox styles.
I'm using the 2012.2.725.1050 version and is not possible to change to a new one.
Please let me know if you want further information.
Best,
Leandro