471,120 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

Imitate "Back Button" action

Does anyone know the command to "imitate" the "Back" button on a browser
in .NET. I have looked in the Redirect but can't seem to find anything. I
can re-direct to a specific page but my users come from differnet places so
would like to put a "Back" button on the page.
Thanks.
Tom Youngquist
To***@ix.netcom.com

Jul 21 '05 #1
1 1940
> Does anyone know the command to "imitate" the "Back" button on a browser
in .NET.

This is best done with client side script. The following HTML input button
has the same behavior as the back button.

<INPUT type="button" value="Go back!" onclick="history.back();">

Anders Norås
http://dotnetjunkies.com/weblog/anoras
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Kurda Yon | last post: by
1 post views Thread by Tom Youngquist | last post: by
1 post views Thread by Tom Youngquist | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.