This is a migrated thread and some comments may be shown as answers.

autocomplete with filtering does not work?

7 Answers 433 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 28 Jan 2011, 03:34 PM
Hi,
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

Sort by
0
Valeri Hristov
Telerik team
answered on 01 Feb 2011, 10:31 AM
The autocomplete is not supported when IsFilteringEnabled=true. This is a known limitation of RadComboBox, that will be addressed in the future releases of the control. Unfortunately with the current version you cannot workaround it.

Greetings,
Valeri Hristov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Grant
Top achievements
Rank 2
answered on 02 Aug 2012, 03:08 PM
It's been a year and a half since the last post on this.  Has this feature been added yet?  If not, when will this be added?

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.
0
Diego
Top achievements
Rank 1
answered on 26 Jul 2013, 09:22 PM
Hi,

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.
0
Yana
Telerik team
answered on 29 Jul 2013, 03:08 PM
Hi Diego,

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
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Valentin
Top achievements
Rank 1
Iron
Iron
answered on 19 Nov 2019, 10:41 AM

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.

0
Vladimir Stoyanov
Telerik team
answered on 22 Nov 2019, 09:04 AM

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

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Ron
Top achievements
Rank 1
Iron
answered on 05 Feb 2022, 12:05 AM | edited on 05 Feb 2022, 12:06 AM
<removed due to wrong product, sorry!>
Tags
ComboBox
Asked by
Steve
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Grant
Top achievements
Rank 2
Diego
Top achievements
Rank 1
Yana
Telerik team
Valentin
Top achievements
Rank 1
Iron
Iron
Vladimir Stoyanov
Telerik team
Ron
Top achievements
Rank 1
Iron
Share this question
or