IE10 sending image button click coordinates with decimals (floating point values) causing a ParseInt32 FormatException

后端 未结 10 1075
情深已故
情深已故 2020-12-08 07:48

It seems like ASP.NET 4.0 is not prepared to handle ImageButton events triggered by Internet Explorer 10. The problem is that IE10 sends the image click coordinates as doubl

10条回答
  •  既然无缘
    2020-12-08 08:13

    Just put this in the header of each page or the master page:

    
    

    This will force IE10 into IE9 standards document mode, and it can handle image postbacks just fine.

提交回复
热议问题