user1133737
user1133737

Reputation: 113

Error while navigating the page to another page

I am trying to redirect page on Button click of infopath form using the below code:

HttpContext.Current.Response.Redirect("http://www.google.com", true);

But i am getting this error:

"Object reference not set to an instance of an object."

Upvotes: 0

Views: 737

Answers (1)

Related Questions