Search Panel doesn't work for TreeListView

4 posts, 0 answers
  1. Kirill
    Kirill avatar
    1 posts
    Member since:
    May 2014

    Posted 02 Jun 2016 Link to this post

    Hi,

    I wanted to use "search as you type" functionality (http://docs.telerik.com/devtools/wpf/controls/radgridview/features/search-as-you-type.html) in a TreeListView, but looks like it doesn't work for it even though it's inherited from GridView.

    I tried it on a new blank project and confirmed my suspicion:

    <telerik:RadTreeListView ShowSearchPanel="True"/>

    doesn't show a search panel, but 

    <telerik:RadGridView ShowSearchPanel="True"/>

    works without any issues.

    Is this intended behaviour, or can we hope for a fix?

    Thank you.

  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 07 Jun 2016 Link to this post

    Hi Kiril,

    Currently, search-as-you-type functionality is supported only for RadGridView. And for the time being, it is not scheduled for implementation for RadTreeListView. Our main concern is that this feature can be applied only on the parent items since the children are not always available and the control knows basically only for the parent items. The same is the case with filtering. Thus, the behavior for searching would have seemed incomplete and not fully functional. 
    I do hope you understand our concern.

    Regards,
    Maya
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Dharma
    Dharma avatar
    1 posts
    Member since:
    Apr 2017

    Posted 25 Apr Link to this post

    I am using GridView version 2017.1.222.45 and the Ctrl F function does not seem to work for me,

    I placed both to true

    CanUserSearch="True"

    ShowSearchPanel="True"

     

     

     

     

  4. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    392 posts

    Posted 26 Apr Link to this post

    Hi Dharma,

    What is the exact behavior that you observe? Generally, pressing the Ctrl+F would make the Search Panel visible in case it is hidden. If the panel is already visible - pressing the combination would move the focus to the TextBox so that you can start your search. Is this the behavior you observe? Otherwise, are you handling some key events at your end that might be overriding the logic?

    I have attached a sample for your reference. You can try to modify it in order to represent the behavior at your end.

    Have a great rest of the week.

    Regards,
    Stefan Nenchev
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top