Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return back to previous page
Message
 
 
To
27/05/2004 12:53:40
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00898496
Message ID:
00907924
Views:
15
>>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,
Thank you for the suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform