This is a migrated thread and some comments may be shown as answers.

PageOnScrolling and Checkboxes

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 23 Apr 2012, 10:17 PM
I configured my grid to use Page On Scrolling as described here: http://demos.telerik.com/aspnet-mvc/razor/grid/pageonscroll
I also configure the same grid to show a column of checkboxes for row selection as described here: 
http://demos.telerik.com/aspnet-mvc/razor/grid/checkboxesajax

The grid is using custom Ajax binding.

The problem: selected checkboxes do not persist after a page is retrieved.  It would make sense that the previously retrieved records do not need to be replaced, and their checkbox selection should not be lost.  Is it possible to persist the checkbox selection with page on scroll?

1 Answer, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 1
answered on 24 Apr 2012, 06:03 PM
I ended up following the example here: http://www.telerik.com/community/forums/aspnet-mvc/grid/checkbox-checked-state-lost-during-ajax-paging.aspx

I would think the grid should be able to do this without having need for extra javascript.  The records remain on the page in visible view, so the end user would expect the checkbox selections to persist.
Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Alex
Top achievements
Rank 1
Share this question
or