子窗口访问问题 [英] Child window access problem

查看:90
本文介绍了子窗口访问问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用Java脚本打开子窗口.
代码如下.

Hi All,

I am opening a child window using java script.
The code is as follows.

string strPopup = "YourPopupPage.aspx?yourParameterName=" + Server.UrlEncode(paramValue) + "&secondPraramName=" + Server.UrlEncode(paramValue); 
 
ClientScript.RegisterClientScriptBlock ("load", "<script type=\"text/javascript\">\n" + "window.open(''" + strPopup + "'',''ApplicationName'',config=''left=400, top=400, height=200, width=650, status=yes, resizable= no, scrollbars= no, toolbar= no,location= no, menubar= no'');\n" + "</script>");



我想以某种方式进行编码,直到子窗口没有关闭,父窗口才是可访问的.

我应该在代码中进行哪些代码更改?

请帮助我.

在此先感谢.



I want to code it in a way,where the parent window should not be accesible until the child window is not closed.

What code changes should i do in the code?

Please help me in this.

Thanks in advance.

推荐答案

希望
Hope this[^] might help you.


这篇关于子窗口访问问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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