autocomplete with filtering does not work?

7 posts, 0 answers
  1. Steve
    Steve avatar
    1 posts
    Member since:
    Jan 2011

    Posted 28 Jan 2011 Link to this post

    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>

     

  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 01 Feb 2011 Link to this post

    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>>
  3. Grant
    Grant avatar
    4 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    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.
  4. Diego
    Diego avatar
    13 posts
    Member since:
    Aug 2012

    Posted 26 Jul 2013 Link to this post

    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.
  5. Yana
    Admin
    Yana avatar
    4963 posts

    Posted 29 Jul 2013 Link to this post

    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 >>
  6. Valentin
    Valentin avatar
    153 posts
    Member since:
    Mar 2016

    Posted 19 Nov 2019 Link to this post

    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.

  7. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    637 posts

    Posted 22 Nov 2019 Link to this post

    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.
Back to Top