0
我尝试使用下面的代码的InfoPath表单的按钮点击重定向页面:错误而导航页面到另一个页面
HttpContext.Current.Response.Redirect("http://www.google.com", true);
但我得到这个错误:
“对象引用未设置为对象的实例。“
我尝试使用下面的代码的InfoPath表单的按钮点击重定向页面:错误而导航页面到另一个页面
HttpContext.Current.Response.Redirect("http://www.google.com", true);
但我得到这个错误:
“对象引用未设置为对象的实例。“
它对您有帮助吗?
HttpContext.Current.Response.Redirect("http://www.google.com", false);
采取这里一看,
http://mfawazsp.blogspot.in/2010/02/problem-with-responseredirect-in.html
和/或本,
Need inputs for logic for Codebehind in Infopath Button
和/或本,
我也试过这个......同样的错误来了 – user1133737
分享代码:) – Jashwant
在按钮点击事件只是写下面的代码: – user1133737