Hi, we are using a master-detail that uses two page (one for master list - webdatagrid and one for the detail)
The user can filter, sort ect on the master list page and then edit a item by clicking the edit link (column) so he/she is send to the detail page. After user edits the item (or cancel) the user is sent back to the master list page.
What do we want is to persists the state of the grid that it had before leaving to the detail page.
Can you suggest me a good approach to achieve that?
I've seen the persistance framework can be used for that, althought it's part of the version 4 and we are using version 35, and we can't upgrade it at this momment.
I've tried to save and load the grid's behaviours (together and one by one) with a session variable. It seems to be working but I always got javascript errors related to element.id that can't be found.
Thanks!
Hello kcrosson,
you can use Persistence Framework, it can be tested here - Pesistence Framework Online SamplesIt doesn't matter what is your framework version 3.5 or 4.0 but note that Persistence Framework appears for the first time in version 11.1 which means that if you are using earlier version you cannot use it.
Also you could look at Duane’s sample, which shows how to persist filter criteria between different web pages without Persistence Framework, storing column filter in the session.
http://community.infragistics.com/forums/t/56793.aspx
Hope this helps