如果web.config 中添加

<add verb="*" path="*.ashx" type=" System.Web.IHttpHandler"/>


b方式也无法跳转(已经测试过,不知道原因,可能更IHttpHander 请求关联...)

 

2:当然就是非ajax方式请求 IHttpHander   中的

context.Response.Redirect


是ok的 千万不要采用上面的b方式  因为那是直接输出 到当前页面

window.location.href=‘你跳转的路径’




 

 

  相关解决方案