我正在尝试从我的asp用户控件打开一个弹出/模态窗口。此弹出窗口将成为其他外部网站的占位符(例如:Google.com或Facebook.com)
我尝试过将iFrame与ModalPopup配合使用。但iFrame与许多网站和显示消息有问题 "此内容无法显示"
任何指针?
<asp:ImageButton ID="showPop" AlternateText="License Evidence Info" BorderWidth="0px" runat="server" ImageUrl="../../../Images/info.png" OnClientClick="updateObjectIframe(); return false;"/>
<div class="popover-content">
<div id="one" class="popover-content" >
<object id="foo" name="foo" type="text/html" data="http://www.google.com" class="popover-content"></object>
</div>
<asp:LinkButton ID="closeLicenseEvidencePop" Text="Close" runat="server"></asp:LinkButton>
</div>
答案 0 :(得分:0)