AutoComplete with Filtering doesn't seem to be working!
Is this a known issue?
thanks,
Steve
<
telerik:RadComboBox IsEditable="True" IsFilteringEnabled="True" >
<telerik:RadComboBoxItem Content="a1" /><telerik:RadComboBoxItem Content="abc" /><telerik:RadComboBoxItem ntent="b1" />
<telerik:RadComboBoxItem Content="b2" />
</telerik:RadComboBox>
7 Answers, 1 is accepted
Greetings,
Valeri Hristov
the Telerik team
It seems to me that it shouldn't be very hard to implement:
1. Execute the filter.
2. Check if MarkFirstMatch = true
3. If so, execute the autocomplete code.
Telerik, you already have the bits of code needed. Please just allow us to use both features together.
Apologies. This post should be for the RadComboBox (for ASP.NET) not for WPF.
Is this feature already added to telerik for wpf?
I need that the RadComboBox allows me to filter and autocomplete at the same time.
Thanks in advance.
Actually this feature was canceled - after some research we found that due to some limitations of the ComboBox ( and more specifically ItemsControl which it inherits from) virtualization and filtering cannot be achieved at the same time.
I would suggest that you use RadAutoCompleteBox control instead, you can check its documentation at the following link:
http://www.telerik.com/help/wpf/radautocompletebox-overview.html
Regards,
Yana
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Hi Telerik,
Does this behavior has been implemented since 2013 ? When I'im writting text, I need to filter the list AND autocomplete with the first matching item. With the following settings, these behavior are not compatible together, and I don't find any solution on the Telerik documentation/demo.
<
Style
x:Key
=
"StyleEditableComboBox"
TargetType
=
"telerik:RadComboBox"
>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"IsEditable"
Value
=
"True"
/>
<
Setter
Property
=
"OpenDropDownOnFocus"
Value
=
"True"
/>
<
Setter
Property
=
"StaysOpenOnEdit"
Value
=
"True"
/>
<
Setter
Property
=
"TextSearchMode"
Value
=
"StartsWith"
/>
<
Setter
Property
=
"telerik:StyleManager.Theme"
Value
=
"Office2016"
/>
<
Setter
Property
=
"Margin"
Value
=
"2"
/>
<
Setter
Property
=
"CanAutocompleteSelectItems"
Value
=
"True"
/>
<
Setter
Property
=
"IsFilteringEnabled"
Value
=
"True"
/>
<
Setter
Property
=
"IsTextSearchEnabled"
Value
=
"True"
/>
<
Setter
Property
=
"Validation.ErrorTemplate"
Value
=
"{x:Null}"
/>
</
Style
>
If not, do you know any by-passing behavior ? The autocompletebox can't do what I want.
Thank you.
Valentin.
Hello Valentin,
Thank you for the provided code snippet.
The RadComboBox does not support filtering and autocompletion. You can check out the following thread, where this scenario was discussed: Do we have any property or way to AutoComplete the text in input text area of RadComboBox along with filter?
That said, the RadAutoCompleteBox box does support this scenario with its SuggestAppend AutoCompleteMode. You can check it out and see, if it suitable for your requirements.
I hope you find this helpful.
Regards,
Vladimir Stoyanov
Progress Telerik