G
Guest
Is there a way to arbitrarily persist and restore a page state? For
instance: I'm half way through filling out a page and I come accross a field
that I don't know which value should be placed in it. What I'd like to do is
have a lookup button. In the code for the button click event, I'd like to
persist all the information on the form (say to a database or file), redirect
to another page passing a persistence ticket.
The "called page" would note which page called it, allow me to lookup the
value I'm interested in and "return" to the previous page, noting that I'm
returning.
The original page would at some point early in page life cycle determine
that it had been "returned" to, and set the page state to the earlier
persisted version, possibly adding in "returned" information (assuming the
lookup wasn't canceled) and then redisplaying the page focusing the next
control (or if canceled the current control).
Could be there's a better way to do this or something similar in .net and
I'd love pointers to either the problem above or a different approach that's
maybe more .net ish.
Pop-ups I'd prefer not to do.
instance: I'm half way through filling out a page and I come accross a field
that I don't know which value should be placed in it. What I'd like to do is
have a lookup button. In the code for the button click event, I'd like to
persist all the information on the form (say to a database or file), redirect
to another page passing a persistence ticket.
The "called page" would note which page called it, allow me to lookup the
value I'm interested in and "return" to the previous page, noting that I'm
returning.
The original page would at some point early in page life cycle determine
that it had been "returned" to, and set the page state to the earlier
persisted version, possibly adding in "returned" information (assuming the
lookup wasn't canceled) and then redisplaying the page focusing the next
control (or if canceled the current control).
Could be there's a better way to do this or something similar in .net and
I'd love pointers to either the problem above or a different approach that's
maybe more .net ish.
Pop-ups I'd prefer not to do.