Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return back to previous page
Message
From
27/05/2004 12:53:40
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00898496
Message ID:
00907841
Views:
11
>Is there another way (besides using Response.Redirect( "previoiusPage.aspx" ) ) to reload previous page?
>
>Here is an example:
>
>User enters information in the Order page. Click Submit.
>
>Page 'Thank you for your order' appears. I want to have a button on this form with caption 'Create New Order'. In the Click() method of the 'Create New Order' page I can use Response.Redirect() but maybe there is more efficient way.
>
>Thank you for any suggestions.


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 >


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform