在IE10 LinkBut​​tons不执行回发 [英] LinkButtons in IE10 not performing posting back

查看:132
本文介绍了在IE10 LinkBut​​tons不执行回发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一个简单的的LinkBut​​ton 添加到ASP.NET 4页的,但它没有调用回发在IE10。在code看起来如下:

I'm trying to add a simple LinkButton to an ASP.NET 4 page but it's not calling the postback in IE10. The code looks like as follows.

HTML

<form id="form1" runat="server">
<div>
  <asp:LinkButton ID="LinkButton1" runat="server"
    OnClick="LinkButton1_Click">LinkButton</asp:LinkButton>
  <br />
  <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</div>
</form>    

C#:

protected void Page_Load(object sender, EventArgs e) { }

protected void LinkButton1_Click(object sender, EventArgs e)
{
  Label1.Text = DateTime.Now.ToString();
}

正如你所看到的,它只是一个简单的页面。但是,我不能,因为升级到Win8的IE10并在的LinkBut​​ton 来调用该方法。这能与Firefox浏览器。

As you can see, it's just a plain page. However, I cannot get the LinkButton to call the method since upgrading to Win8 and IE10. This works fine with Firefox.

任何想法我需要做什么?

Any ideas what I need to do?

推荐答案

有关错误的解释:

http://support.microsoft.com/kb/2600088

如果你想直接下载(框架4.0),以修补程序是:

If you want the direct download (Framework 4.0) to the Hotfix is:

<一个href=\"http://hotfixv4.microsoft.com/.NET%20Framework%204.0%20-%20Windows%20XP,%20Windows%202003,%20Windows%20Vista,%20Windows%20Server%202008,%20Win7,%20Windows%20Server%202008%20R2%20(MSI)/nosp/DevDiv953277/30319.504/free/436907_intl_x64_zip.exe\" rel=\"nofollow\">http://hotfixv4.microsoft.com/.NET%20Framework%204.0%20-%20Windows%20XP,%20Windows%202003,%20Windows%20Vista,%20Windows%20Server%202008,%20Win7,%20Windows%20Server%202008%20R2%20(MSI)/nosp/DevDiv953277/30319.504/free/436907_intl_x64_zip.exe

这篇关于在IE10 LinkBut​​tons不执行回发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆