div作为asp.net中的弹出窗口 [英] div as a popup window in asp.net

查看:50
本文介绍了div作为asp.net中的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们...

在我的应用程序中,有一个链接.
当我单击它会打开弹出窗口(一个div)
表示将显示属性更改为block ..ok div看起来很好,但我的问题是

div在触发selectedindexchanged事件agian时包含下拉菜单和文本框,现在div已不可见

请帮助我

Hi friends...

In my application there is one link .
when i click it opens popup(a div)
means the display property is changed to block ..ok div appears fine but my problem is

div contains dropdowns and textboxes on firing the selectedindexchanged event agian the div is invisible now

plz help me

推荐答案



您可以尝试的另一件事是在更新面板中添加pop div的所有内容.像下面-

Hi,

One more thing you can try is add all the content of the popup div inside an update panel. Like below-

<div id="yourPopupDivId">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:DropDownList ID="DropDownList1" runat="server">
            </asp:DropDownList>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>


在选定索引中已更改,将div显示更改为block
in the selected index changed change the div display to block


U可以使用ajax控制工具套件的模式弹出窗口
U can use modal popup of ajax control tool kit


这篇关于div作为asp.net中的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆