Forum


14:54

24/06/2010

(Excuse my english!) In my application every row has a button with a link to an edit-form. When I submit the form, going back to the grid. OK. But in the grid are a lot of pages. So, when I am on the second or higher page and go to the edit form. When I go back to the grid, than I want to see the second page. What's to do ?
Hello,
I have similar issues in my app and I have two solutions:
1. open the edit window in a new browser window so that when it is closed you see the original window with the grid, just as you left it. There are at least two problems with this: the grid is not refreshed so if it contains fields which are changed in the edit window, the operator has to refresh to see the changes, and it leads to multiple open windows if the operator does not close the edit window but simply minimizes it.
2. store the operator's choices for the grid in a cookie or server-side session table (I use the latter). Everytime a request is made, store the important parts of the request so that when the operator returns to that grid, you start with the last configuration not your default. I store, among other things, the rows to display, the page last displayed and the sort order settings all identified by grid name; then whenever an operator returns to a grid previously visited, it appears just as it was left.
Hope this helps,
Reg
Most Users Ever Online: 715
Currently Online:
81 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66