search gridview using an outer search textbox

3 posts, 0 answers
  1. Jacob
    Jacob  avatar
    21 posts
    Member since:
    Apr 2016

    Posted 18 May Link to this post

        Hello Telerik,

     

    One thing I need to point is I use LinqToSQL, composing a IEnumerable<Something> placed inside a VirtualQueryableCollectionView and finally bound to the grid: ItemsSource="{Binding VirtualCollectionOfSomething}"

    I am looking for a way to search in my gridview data using a TextBox outside of the grid, without having to go to the database a second time.

    Is there a way I can trigger the built-in gridview filter event using the textbox input as a filter parameter to a specific column?

     

    thank you!

  2. Jacob
    Jacob  avatar
    21 posts
    Member since:
    Apr 2016

    Posted 20 May in reply to Jacob Link to this post

    please let me know asap

    Appreciated

  3. UI for WPF is Visual Studio 2017 Ready
  4. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 23 May Link to this post

    Hello Jacob,

    Can you please take a look at the Programmatic Filtering topic, as the built-in mechanism for filtering RadGridView is demonstrated in it. Basically, you can build the required IFilterDescriptor based on the Text value of the TextBox and add it to the FilterDescriptors collection of the control.

    Hope this helps.

    All the best,
    Stefan X1
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top