问题
I developed an Web Application which is working fine in all other browser even in IE8 but not working in Latest version of IE like IE10,IE11. In IE11 on button click it throws an error like "Input string was not in a correct format" but in IE8 and other browser it was working without any error.
In IE11 if i press F12 and see in DOM Explorer it throws error as: exception in window.onload js plugin.3005-Inprogress.
can any one help me to solve this issue.
Thanks in advance.
On button click i am getting the error.but if i keep break point in the button click and check .i found that the click event not fired in IE11
hi now i found that the error was occuring at the time of scriptmanager postback.
this is the code
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"
ScriptMode="Release" OnAsyncPostBackError="ScriptManager1_AsyncPostBackError" />

回答1:
Adding the Flowwing script in the aspx page solved my issue.
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance()._origOnFormActiveElement = Sys.WebForms.PageRequestManager.getInstance()._onFormElementActive;
Sys.WebForms.PageRequestManager.getInstance()._onFormElementActive = function (element, offsetX, offsetY) {
if (element.tagName.toUpperCase() === 'INPUT' && element.type === 'image') {
offsetX = Math.floor(offsetX);
offsetY = Math.floor(offsetY);
}
this._origOnFormActiveElement(element, offsetX, offsetY);
};
</script>
来源:https://stackoverflow.com/questions/28229164/web-application-which-is-working-in-firefox-chrome-and-ie8-is-not-opening-in-ie1