JavaScript运行时错误 [英] JavaScript runtime error

查看:98
本文介绍了JavaScript运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误JavaScript运行时错误:Sys.WebForms.PageRequestManagerServerErrorException:输入字符串格式不正确。,当触发数据列表项命令时,它只发生在IE 10中,其中任何一个都有解,请回复

I am getting the error "JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.", When firing data list item command, Its happening only with IE 10, Any of them have solution, Please reply

推荐答案

似乎问题是由于 ImageButtons 而且它是一个Bug。

阅读可能的修复程序 - 如何理解Visual Studio 2008中的动态HTML? [ ^ ]。

快速修复



ImageButton 替换为 LinkBut​​ton asp:Image 在其中。
Seems that problem is due to ImageButtons and it is a Bug.
Read possible fixes at - How To Understand dynamic HTML in Visual Studio 2008?[^].

Quick Fix


Replace ImageButton with a LinkButton and asp:Image inside it.


我在Internet Explorer 10中遇到了同样的问题。

请确保您的浏览器以100%缩放运行并设置IE在兼容性视图中然后所有错误都消失了。如果仍然有人在搜索同样的问题,请尝试通过在该网站的兼容模式下设置IE来试一试。
I have undergone the same problem with Internet Explorer 10.
Please make sure your browser running with 100% Zoom and Set the IE in compatibility View then all errors gone away. If still someone searching for the same problem please you could give it a try by setting the IE in compatibility mode for that website.


这篇关于JavaScript运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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