M
MattB
I have what I hope is a simple problem. My ASP.net (1.1) application has
a vb class and I want to redirect from code in that class.
I figured out that plain old Response.Redirect() doesn't work from the
class like it does from codebehind by doing the following:
Dim Response As System.Web.HttpResponse
Response.Redirect("StartPage.aspx")
But when it executes I get a runtime error: Object not set to an
instance of an object.
What am I missing here? Thanks!
Matt
a vb class and I want to redirect from code in that class.
I figured out that plain old Response.Redirect() doesn't work from the
class like it does from codebehind by doing the following:
Dim Response As System.Web.HttpResponse
Response.Redirect("StartPage.aspx")
But when it executes I get a runtime error: Object not set to an
instance of an object.
What am I missing here? Thanks!
Matt