IE10 and Modal Popup Extender always visible

吃可爱长大的小学妹 提交于 2019-12-11 07:41:55

问题


It seems that my Modal Popup Extenders are always visible when using IE10.

<ajx:ModalPopupExtender runat="server" ID="mpeNewTest" 
    PopupControlID="pnlTest" TargetControlID="btnNew"
    DropShadow="true" BackgroundCssClass="modalBackground"  />
<asp:Panel runat="server" ID="pnlTest" 
    CssClass="ModalWindow" ScrollBars="Auto">
<!--Stuff here -->
</asp:Panel>

Is there something that is missing? I've looked online and no one seems to have this problem.

The CSS is simple:

.ModalWindow {border: solid 1px #c0c0c0;background:#f0f0f0;
     padding: 10px 10px 10px 10px;width: 800px;height: 500px;}

It seems strange but do I have to add a display:none to the CSS? Or is there another way to get them to be invisible in IE10?

EDIT: I will add that it works in Firefox, Safari and Chrome.

EDIT 2: After some digging I have found I'm getting two errors:

SCRIPT5007: Unable to get property 'PageRequestManager' of 
     undefined or null reference 
SCRIPT5022: Sys.ArgumentException: Value must not be 
     null for Controls and Behaviors.

I've never seen these errors before.


回答1:


I've managed to find a solution to this problem.

Here you can find the bug fix for ASP.Net.

The header for the article in question is: Bug and Fix: ASP.NET fails to detect IE10 causing _doPostBack is undefined JavaScript error or maintain FF5 scrollbar position

Which is the underlying problem of the error messages I was receiving.



来源:https://stackoverflow.com/questions/17943073/ie10-and-modal-popup-extender-always-visible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!