1

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.

4

1 回答 1

0

我设法找到了解决这个问题的方法。

在这里您可以找到 ASP.Net 的错误修复。

相关文章的标题是:错误和修复:ASP.NET 无法检测到 IE10 导致 _doPostBack is undefined JavaScript 错误或保持 FF5 滚动条位置

这是我收到的错误消息的根本问题。

于 2013-08-01T12:33:13.490 回答