如何弹出窗口隐藏 [英] how to popup window hide
问题描述
尊敬的先生,
创建弹出窗口时遇到一些问题.问题在于如何隐藏弹出窗口.
让我们假设我在一个ASP页面中工作,我单击选项卡,然后打开一个弹出窗口,并且发现此页面时也出现一些错误,所以我正在使用另一个弹出窗口
但是当我关闭此窗口时,页面的方向又回到了ASP页面,而不是在弹出窗口中.
如果要在弹出窗口中,我想编写代码,然后在关闭另一个弹出窗口时打开另一个弹出窗口,这样我的页面控件便会转到第一个弹出窗口.
谢谢您使用高级!!
dear sir,
i have some problem when creating popup window.the problem is how to hide popup window.
let us suppose that i am work in one asp page and i am click tab then one popup window open and also some error found this page so i am using another popup window
but when i am closing this window the direction of page going on back to the asp page not in pop up window.
i want to code if i am in popup window then open another popup window when i am closed this another popup window so my page control goes to the first popup window.
thanks you in advanced !!
推荐答案
请使用lik this,
这个带有"x"符号,用于关闭标签页
use lik this ,
this one have the "x" symbol for closing the tab
<asp:Button runat="server" ID="btnShow" Style="display: none" />
<ajax:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="btnShow"
PopupControlID="panelID" BackgroundCssClass="modalBackground" OkControlID="imgID">
</ajax:ModalPopupExtender>
<asp:Panel runat="server" ID="panelID" CssClass="modalPopup">
<div class="inner" id="div1">
<ol>
<li style="font-weight: bold; color: White; background-color: #5D7B9D;">
<img id="imgID" src="../../images/cal_close.gif" alt="" align="right" />Edit_Comments
</li>
</ol>
这篇关于如何弹出窗口隐藏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!