Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Back button to previous page problem

Posted 23 Nov 2005 12:00:17
1
has voted
23 Nov 2005 12:00:17 s s posted:
Dear all,
This is my first post. I am getting problem in back button.

Suppose i have 2 pages first.aspx and second.aspx. I am putting some values into textboxes in first.aspx.Then if i click a button it goes to second.aspx. There i have to get some values back to first.aspx. If i click a button "a" it comes to first.aspx. But due to some problem during postbacks, the transfer to first.aspx is not done. Then if i click the button it should come to first.aspx which should be in the same state.

If i use history.go(-1) then it goes to second.aspx in previous state.But i should go to first.aspx. Is there any way other than putting the values in session in first.aspx.

Regards
Sonnu

Reply to this topic