ASP.NET按钮处理IE11中无法正常工作的方法

时间:2021-08-17 03:17:59

I am using ASP.NET 2.0 Web Forms. I have an asp.button which looks like this:

我正在使用ASP.NET 2.0 Web窗体。我有一个asp.button,看起来像这样:

asp:Button ID="btnSave" CssClass="button" runat="server" Text="Save"  

I have a handles method in the code behind, the header looks like this:

我在后面的代码中有一个handle方法,标题如下所示:

 Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSave.Click

For some reason the handles method is never reached in IE10 or IE11. It works fine in Chrome and IE9. Does anyone have any idea why this might be?

由于某种原因,在IE10或IE11中永远不会达到handle方法。它在Chrome和IE9中运行良好。有谁知道为什么会这样?

1 个解决方案

#1


0  

This a problem in the browser definition files for Internet Explorer depending on the installed version of the Microsoft .NET Framework. You can find a hotfix from Microsoft in the following link:

这是Internet Explorer的浏览器定义文件中的问题,具体取决于安装的Microsoft .NET Framework版本。您可以在以下链接中找到Microsoft的修补程序:

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

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

#1


0  

This a problem in the browser definition files for Internet Explorer depending on the installed version of the Microsoft .NET Framework. You can find a hotfix from Microsoft in the following link:

这是Internet Explorer的浏览器定义文件中的问题,具体取决于安装的Microsoft .NET Framework版本。您可以在以下链接中找到Microsoft的修补程序:

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

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