By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,688 Members | 1,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,688 IT Pros & Developers. It's quick & easy.

Imitate "Back Button" action

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
> 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.