I am trying to implement the typical: form-> is this what you want?-> transaction ->confirmation
After the user clicks submit on the form, I used transfer to a "user validation" page for the "is this what you want" part. On the user validation page I use Page.PreviousPage.FindControl to get the values out of the controls and display a summary of what they got. (maybe this isn't the preferreed way?)
My problem is when it isn't what they want. I tried to provide a "go back" button. When that button is clicked, the page_load event triggers and all my member variables are null.
So, obviously I don't understand the lifetime of member variables or the page instance in ASP.
One of those member variables contains a value that needs to be sent back to the form.
How should I be implementing this?
Here is my current code
Form:
Go to the complete details ...