如何关闭ModalPopupExtender? [英] How to close ModalPopupExtender?

查看:101
本文介绍了如何关闭ModalPopupExtender?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用了两个ModalPopupExtender.一个是一般的..另一个是前一个弹出窗口中的弹出窗口. .但是我只需要关闭第二个弹出窗口即可....


谢谢n Advance

i use two ModalPopupExtender in my project.one is genral..other one is popup within previous popup...first one is working fine...but if i try to close second popup then..it close both popup.. but i need close only second popup....


Thank n Advance

推荐答案

请第二次使用CancelConrol ID弹出....
Please use CancelConrol ID for second Pop up....


听起来像复制粘贴代码弹出窗口的.

如果创建时您的弹出窗口/新窗口名称相同,则会发生此行为.确保名称不同.目前,基于相同的命名窗口,两个窗口都可能会关闭.
Sounds like a copy-paste code of popup''s.

If your popup/new windows name while creating are same then this behaviour would occur. Make sure that the names are different. Currently, based on same named window, both might be getting closed.


这篇关于如何关闭ModalPopupExtender?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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