Wednesday, 10 April 2013

How to call Response.Redirect() from a class in App_Code

To call Response.Redirect() from a class in App_Code  you can use :
HttpContext.Current.Response.Redirect(myUrl);