【问题标题】:IE10 & ASP.Net Handler bugIE10 & ASP.Net 处理程序错误
【发布时间】:2013-01-10 08:49:09
【问题描述】:

我在 IE10 上测试了我的网站。查看源代码 IE 10 不包含某些 ScriptResource.axd 文件。但我复制网站网址并粘贴 chrome 工作正常。

此代码不包括IE10。(右键单击->查看源代码)

var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}

【问题讨论】:

  • 没有问号,没有问题
  • 你在以前版本的IE中试过吗?
  • 是的,我试过 IE9、IE8 和 IE7。工作正常。

标签: asp.net iis-7 httphandler httpmodule


【解决方案1】:

出现此类问题的最常见情况是 ASP.NET 无法将浏览器检测为支持 JavaScript。对于 IE10,您应该在开发机器和服务器上安装 KB。请检查您是否拥有它们,这里有详细描述(以及其他一些修复可能性):

【讨论】:

    猜你喜欢
    • 2013-10-08
    • 2016-08-18
    • 1970-01-01
    • 2010-10-09
    • 2012-12-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-21
    相关资源
    最近更新 更多