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. Difference between postbackurl and response.redirect

Difference between postbackurl and response.redirect

Scheduled Pinned Locked Moved ASP.NET
3 Posts 3 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.
  • A Offline
    A Offline
    anish27patel
    wrote on last edited by
    #1

    Please give difference between postbackurl and response.redirect. and on which case we use postbackurl instead of response.redirect Thanks in advance,

    Anish Patel

    C A 2 Replies Last reply
    0
    • A anish27patel

      Please give difference between postbackurl and response.redirect. and on which case we use postbackurl instead of response.redirect Thanks in advance,

      Anish Patel

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

      Looking back, you have quite a history of incompetence. How about you read my article on how to use google and start to learn how to do basic research yourself ? Here's a starting hint - what is postbackurl used for ? It's NOT used for redirecting pages, that's not it's core purpose.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • A anish27patel

        Please give difference between postbackurl and response.redirect. and on which case we use postbackurl instead of response.redirect Thanks in advance,

        Anish Patel

        A Offline
        A Offline
        April Fans
        wrote on last edited by
        #3

        For simplified: PostBackURL is more equivalent to Server.Transfer than Response.Redirect. It maintains ViewState and all the rest of the Page object and other State Bags. Response.Redirect simply sends a 302 to the browser. Also, PostBackURL simply sets a CLIENT-SIDE script event on a button. So it doesn't work in all situations. Server.Transfer stays on the server.

        April Comm100 - Leading Live Chat Software Provider

        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