Try System.Web.HttpContext.Current.Response.Redirect.
Of course if you try to use this when there is no http context available,
the Current property will evaluate to null, and trying to get its Response
property will throw a null reference exception.
"TJS" <no****@here.com> wrote in message
news:OA**************@TK2MSFTNGP12.phx.gbl...
how do I use "response.redirect" in a class ?
I'm getting an error on "response is not declared" when I try to compile