Selection when paging

2 posts, 0 answers
  1. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 10 Jul 2012 Link to this post

    So I select a row in the GridView on page 1, move to page 2, then move back to page 1. The selection is gone.

    I didnt sort or apply filters or grouping.

    Any idea how to retain the selection?
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 11 Jul 2012 Link to this post


     When the grid is being paged, it is actually aware of the current page only. The RadGridView simply "knows" that someone is changing its ItemsSource, which is the new page. It does not know how many pages are there.  

    You could remember the selection and set the SelectedItem once the old page is navigated.

    the Telerik team

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

Back to Top