读书人

子父窗体传值更新解决方法

发布时间: 2012-08-07 14:54:48 作者: rapoo

子父窗体传值更新
如何实现一个与http://www.lenosoft.net/depot/index.asp该网页中的分仓汇总中的货品类别相同效果


[解决办法]
看看通达OA系统,通过window.open打开页面
window.opener.document.getElementById?("").value="";
看看页面源码就明白了
[解决办法]

C# code
Page.ClientScript.RegisterStartupScript(GetType(), "set", "window.opener.document.getElementById('TextBox3').value=document.getElementById('"+TextBox1.ClientID+"').value;", true); 

读书人网 >asp.net

热点推荐