子窗口的c#文件中如何取到父窗口打开子窗口时传过来的参数? 父窗口用window.showmodeldialog(a.aspx,"TEST")打开子窗口子窗口的page_load事件中则么取到传过来的参数? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 .window.showModalDialog("DialogPage.aspx","newwin","dialogHeight: 200px; dialogWidth: 150px; dialogTop: 458px; dialogLeft: 166px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes;");2.window.close();3.传值ParentPage.aspx:window.showModalDialog("DialogPage.aspx?para1=aaa¶2=bbb");DialogPage.aspx:string str1=Request.QueryString["para1"].toString();string str2=Request.QueryString["para2"].toString();返回值DialogPage.aspx:window.returnValue="aaa";ParentPage.aspx:var str=window.showModalDialog("DialogPage.aspx");******************************************8刷新父窗体,在子窗体中Response.Write("<script language='javascript'>window.opener.location.reload();self.close();</script>") 如何在c#中打开一个新窗口呢?我用了Server.Transfer(URL);Response.Redirect(URL);都是更新了原窗口 如何在网页上链接MSN客户端?? 用js去掉扫描枪的自动提交事件【高分求高手指教】 .net怎么用什么方法获取别人是通过什么站点跳转到我的站点的 有什么模拟SQL查询分析的net源代码没 事件触发 100 asp.net如何获取客户端网卡MAC,急啊!!请高手指点! 求助 asp.net画面显示pdf问题 为什么在客户端这个按钮的事件不触发? DateSet问题 哪有CSS的电子书可以下载 这个组件这样为什么错了? 用file控件上传文件的安全性讨论,欢迎发表高见
ParentPage.aspx:
window.showModalDialog("DialogPage.aspx?para1=aaa¶2=bbb");DialogPage.aspx:
string str1=Request.QueryString["para1"].toString();
string str2=Request.QueryString["para2"].toString();返回值
DialogPage.aspx:
window.returnValue="aaa";ParentPage.aspx:
var str=window.showModalDialog("DialogPage.aspx");******************************************8
刷新父窗体,在子窗体中Response.Write("<script language='javascript'>window.opener.location.reload();self.close();</script>")
Response.Redirect(URL);
都是更新了原窗口