Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return back to previous page
Message
From
27/05/2004 13:14:41
 
 
To
27/05/2004 12:53:40
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00898496
Message ID:
00907858
Views:
10
Alex,
>As Cathi said, you can redirect (or Server.Transfer) to go to the previous page. When the previous page is not known, I use the following in my entry page, as I do not know which of the company menus (more than one) they came from to my place:
>
>< script language="JavaScript" >
>function GoBack()
>{
>	history.back(-1);
>}
>< /script >
>
Just adding to your point about calling the history from client side JavaScript. You can also call the window history from the server side using JavaScript as well.
Response.Write("<script language = javascript>window.history.back(1)</script>");
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Previous
Reply
Map
View

Click here to load this message in the networking platform