如何在打开子项时禁用父窗口 [英] how to disable a parent window when a child is opened

查看:65
本文介绍了如何在打开子项时禁用父窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在打开子窗口时遇到禁用父窗口的问题,并在孩子关闭时再次启用父窗口.....

任何帮助都将受到赞赏。 ...

先谢谢了......

Hi, i am having a problem of disabling the parent window when a child window is opened and again enabling the parent when the child is closed .....
any help would be appreciated....
Thanks in Advance......

推荐答案

假设这是ASP.Net,你可以使用模态对话框。查看jQuery模式对话框或Ajax ModalPopUpExtender。



对于Windows窗体,使用ShowDialog方法显示子窗体。
Assuming this is ASP.Net, you can use modal dialog. Check out jQuery modal dialog or Ajax ModalPopUpExtender.

For windows forms, use ShowDialog method to display child form.


这篇关于如何在打开子项时禁用父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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