Hi i have a standard list.aspx page generated by dynamic data. this page uses pagination and allows sorting as per normal.
however if i select a record from the grid and click "edit" and then edit edit a record, on clicking update or cancel from the edit.asp, the list.aspx resets itself. thus the sort order i selected is lost and i am back at the first page in the grid!
how do i solve this so that when i return to the lsit page it remembers the sort order and the last selected record?
Hi Jrees, have a look at my article here
Filter History for Dynamic Data 4 I have not yet expanded it to handle sorting but I think that may not be too difficult.
See my blog C# Bits | Twitter @sjnaughton Always seeking an elegant solution.
jrees
Member
22 Points
50 Posts
dynamic data - data grid and storing sort order and last record selected
Jan 22, 2013 11:20 AM|LINK
Hi i have a standard list.aspx page generated by dynamic data. this page uses pagination and allows sorting as per normal.
however if i select a record from the grid and click "edit" and then edit edit a record, on clicking update or cancel from the edit.asp, the list.aspx resets itself. thus the sort order i selected is lost and i am back at the first page in the grid!
how do i solve this so that when i return to the lsit page it remembers the sort order and the last selected record?
thanks in advance
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: dynamic data - data grid and storing sort order and last record selected
Jan 24, 2013 01:03 AM|LINK
Hi,
Can you show us your full codes?
sjnaughton
All-Star
27391 Points
5485 Posts
MVP
Re: dynamic data - data grid and storing sort order and last record selected
Jan 25, 2013 02:10 PM|LINK
Hi Jrees, have a look at my article here Filter History for Dynamic Data 4 I have not yet expanded it to handle sorting but I think that may not be too difficult.
Always seeking an elegant solution.