search gridview using an outer search textbox

3 posts, 0 answers
  1. Jacob
    Jacob  avatar
    14 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
    14 posts
    Member since:
    Apr 2016

    Posted 20 May in reply to Jacob Link to this post

    please let me know asap


  3. DevCraft R3 2016 release webinar banner
  4. Stefan X1
    Stefan X1 avatar
    485 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
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top