Web application which is working in firefox,chrome and ie8 is not opening in IE10 ,IE11

后端 未结 1 1267
隐瞒了意图╮
隐瞒了意图╮ 2021-01-29 06:48

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 a

相关标签:
1条回答
  • 2021-01-29 07:08

    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>
    
    0 讨论(0)
提交回复
热议问题