Difference between postbackurl and response.redirect
-
Please give difference between postbackurl and response.redirect. and on which case we use postbackurl instead of response.redirect Thanks in advance,
Anish Patel
-
Please give difference between postbackurl and response.redirect. and on which case we use postbackurl instead of response.redirect Thanks in advance,
Anish Patel
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.
-
Please give difference between postbackurl and response.redirect. and on which case we use postbackurl instead of response.redirect Thanks in advance,
Anish Patel
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