Using hyperlink as back button

  • Thread starter Thread starter Mike P
  • Start date Start date
M

Mike P

I need to use a hyperlink as a back button, using
javascript:history.go(-1). But the ASP.NET hyperlink control doesn't
have an onClick event, and the HTML anchor tag requires a href.

How can I use the javascript to go back a page using a hyperlink?
 
Use an HTML hyperlink. If you need to load it dynamically, you can put it
into a LiteralControl, panel, or whatever Control you like.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 
Back
Top