Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Hej

Hej

Scheduled Pinned Locked Moved ASP.NET
databasecomhelpquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Burim Rama
    wrote on last edited by
    #1

    Can any body help me ? I need to make a Back button , but the back button shuldt go back to that page where user com from. I have a page called Index and you klick next and now you are in Index1.aspx. In Index1.aspx need i to make a button who response to that page where user com from in this case Index.aspx. I know i can do with response.Redierect(Index.aspx) but i want that automatisk. I hope you have time to help me. Sorry my english.

    M C 2 Replies Last reply
    0
    • B Burim Rama

      Can any body help me ? I need to make a Back button , but the back button shuldt go back to that page where user com from. I have a page called Index and you klick next and now you are in Index1.aspx. In Index1.aspx need i to make a button who response to that page where user com from in this case Index.aspx. I know i can do with response.Redierect(Index.aspx) but i want that automatisk. I hope you have time to help me. Sorry my english.

      M Offline
      M Offline
      Marco van der Linden
      wrote on last edited by
      #2

      Hello, With the next call you go back to the previous url. Response.Redirect(Request.UrlReferrer); Greetings, Marco

      B 1 Reply Last reply
      0
      • M Marco van der Linden

        Hello, With the next call you go back to the previous url. Response.Redirect(Request.UrlReferrer); Greetings, Marco

        B Offline
        B Offline
        Burim Rama
        wrote on last edited by
        #3

        Response.Redirect(Request.UrlReferrer); Sorry but when i do this is nothing happin ? thank you very much

        E 1 Reply Last reply
        0
        • B Burim Rama

          Response.Redirect(Request.UrlReferrer); Sorry but when i do this is nothing happin ? thank you very much

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          in the click for the button...

          B 1 Reply Last reply
          0
          • E eyeseetee

            in the click for the button...

            B Offline
            B Offline
            Burim Rama
            wrote on last edited by
            #5

            yes her is som code hope u can help me protected void btnBak_Click(object sender, EventArgs e) { Response.Redirect(Request.UrlReferrer); I try this to Response.Redirect(Request.UrlReferrer.OriginalString); And this Response.Redirect(Request.UrlReferrer.OriginalString); } but they don't work

            1 Reply Last reply
            0
            • B Burim Rama

              Can any body help me ? I need to make a Back button , but the back button shuldt go back to that page where user com from. I have a page called Index and you klick next and now you are in Index1.aspx. In Index1.aspx need i to make a button who response to that page where user com from in this case Index.aspx. I know i can do with response.Redierect(Index.aspx) but i want that automatisk. I hope you have time to help me. Sorry my english.

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              The most obvious thing to do, is to do this entirely on the client side using javascript. http://www.google.com.au/search?sourceid=navclient&ie=UTF-8&rlz=1T4ADBS_enAU225AU226&q=javascript+page+back[^]

              Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups