Sebastien Lachance

Response.Redirect in a page callback

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:

Comments