摘要:
小窗口的Page_Load:if (!IsPostBack){ ButtonOK.Attributes.Add("onclick","return setValue();");}小窗口的客户端:<script language="javascript">function setValue(){window.opener.document.getElementById("主窗口TextBox1的id").value = "子窗口选中的id";window.close();return 阅读全文