For now I don't understand the exact scheme. When talking about the
"previous" page do you mean the "back" button of the browser ?
Or is this something like :
- enter some data on a page
- click a link to display another page in the same window
- click a link to "go back" to the "previous" page
Remember that each page lives as long as it is displayed. In this case you
would have to keep those values around so that you are able to display again
the page.
--
Patrice
"Nad" <Na*@discussions.microsoft.com> a écrit dans le message de
news:FE**********************************@microsof t.com...
Hi Patrice,
The user has made entries in the previous page's controls. So when I go
back I lose them. I guess the best way to store these entries would be via
session variables right?
"Patrice" wrote:
Not clear.
Where are recorded the value entered in the previous page ? Nowhere ? If
yes just recreate the page with those stored values...
Patrice
--
"Nad" <Na*@discussions.microsoft.com> a écrit dans le message de
news:DE**********************************@microsof t.com... Hello,
In order to go back to the previous page from a page with possible
postbacks I keep Request.Referrer in ViewState and then use it to redirect to
the previous page. However I am losing all the information entered in the
previous page. I also want to keep the entries in many fields/controls
in the previous page.
Is there a way to keep the information in the previous page intact
when you get back to it?