Imitate "Back Button" action

Discussion in 'Microsoft Dot NET' started by Guest, Dec 29, 2004.

  1. Guest

    Guest Guest

    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
     
    Guest, Dec 29, 2004
    #1
    1. Advertisements

  2. > 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
     
    Anders Norås [MCAD], Dec 29, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Margaret

    Open in New Window without Back Button etc

    Margaret, Dec 16, 2003, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    559
    margaret
    Dec 17, 2003
  2. davidw
    Replies:
    1
    Views:
    246
    Stephen Witter
    May 27, 2004
  3. Guest

    Back button in Internet Explorer.

    Guest, Aug 7, 2004, in forum: Microsoft Dot NET
    Replies:
    3
    Views:
    353
    Guest
    Aug 10, 2004
  4. Guest

    How to reload on back button.

    Guest, Aug 28, 2004, in forum: Microsoft Dot NET
    Replies:
    3
    Views:
    296
    Cor Ligthert
    Aug 29, 2004
  5. Guest

    Back button action and requested logon page

    Guest, Dec 21, 2004, in forum: Microsoft Dot NET
    Replies:
    1
    Views:
    224
    Guest
    Dec 21, 2004
  6. Joe Abou Jaoude

    is there a problem with the browser back button in ASP.Net ?

    Joe Abou Jaoude, Jan 28, 2005, in forum: Microsoft Dot NET
    Replies:
    3
    Views:
    323
    Patrice
    Feb 16, 2005
  7. Guest

    How to disable IE Back button - Help

    Guest, Feb 3, 2005, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    234
    Patrice
    Feb 3, 2005
  8. Force Page Expiry (Back Button Issue)

    , May 5, 2005, in forum: Microsoft Dot NET
    Replies:
    0
    Views:
    234
Loading...