467,868 Members | 1,296 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,868 developers. It's quick & easy.

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
  • viewed: 1842
Share:
1 Reply
> 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
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.