Response.Redirect in a page callback

Monday, 10 May 2010

Posted by Sébastien Lachance with Comments (0)

Response.Redirect cannot be called in a Page callback

Sometime you may need to redirect the user somewhere else when doing a page callback. This is not possible with Response.Redirect but you can use Response.RedirectLocation,

Response.RedirectLocation = "notarealpage.aspx?i=1";

 

Technorati Tags:




blog comments powered by Disqus