<input type=button onclick="opener.document.all.textboxID.value='ok'">

解决方案 »

  1.   

    http://dotnet.aspx.cc/ShowDetail.aspx?id=49ML4AO8-5PB3-4KNY-NJZD-LJOIOXV4M1X4
      

  2.   

    搜索一下这样的帖子狂多
    给你用Window.open弹出页面,并且在服务器端赋值的需要你从弹出页面刷新一下原页面,刷新时把值传过去this.Response.Write("<script>window.parent.close();\n window.opener.location.href=window.opener.location.href"+"+'?customerid="+cuid+"';</script>");这里cuid是你弹出页面要传的变量在原页面接收
    string id=this.Request ["customerid"].ToString ();其他弹出对话框或者在客户端传值的找 孟子大哥了