Filtering cleared when switching tabs

5 posts, 0 answers
  1. Pierre-Andre van Leeuwen
    Pierre-Andre van Leeuwen avatar
    13 posts
    Member since:
    Feb 2010

    Posted 21 Nov 2011 Link to this post


    I have the same problem as this person: StackOverflow question. If you have a RadGridView inside a TabControl, the grid view will lose its filtering and sorting options when you switch to another tab and back.

    • .NET 4.0
    • RadControls version:  2011.2.920.40
    • The grid views are bound to ObservableCollections or ICollectionViewSource. The filtering is only performed by clicking on the filter button on the column header. No filtering is performed in code.
    • Everything is implemented using the MVVM pattern.


  2. Greg
    Greg avatar
    36 posts
    Member since:
    Oct 2007

    Posted 13 Jan 2012 Link to this post

    I have this problem as well. In addition Sort order is also lost when switching away from and back to a tab containing a GridView in WPF/MVVM.

  3. Vlad
    Vlad avatar
    11100 posts

    Posted 16 Jan 2012 Link to this post


     Do you get different behavior with standard WPF DataGrid?

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  4. Adam
    Adam avatar
    25 posts
    Member since:
    Mar 2012

    Posted 04 Nov 2014 Link to this post

    try using this
    as your itemsource list.

    It should then retain your filters on tab-switch.
  5. Adam
    Adam avatar
    25 posts
    Member since:
    Mar 2012

    Posted 04 Nov 2014 in reply to Adam Link to this post

    scratch the above - I was being a numpty. sorry.
Back to Top