1。使用javascript:showModalDialog()可以实现,showModalDialog有返回值可以使用
2。传递textbox对象到新页面,在B页面中操作A页面的对象,用法:(B页面)self.opener.document.all["txtbox"].value = val;

解决方案 »

  1.   

    只能通过Javascript实现,同意楼上的!
      

  2.   

    在B页面的onclick事件处理程序中
         private void Button1_Click(object sender, System.EventArgs e)
               {
    Application["test"]=TextBox1.Text;
    Response.Redirect("A.aspx",false);
               }
      

  3.   

    当onclick数据时,刷新父页面A,并关闭B页面:
    Response.Write("<script language=""javascript"">")
    Response.Write("parent.self.opener.document.Form.submit();")  'submit page A
    Response.Write("parent.window.close();")
    Response.Write("</script>")传值的办法
    1。用session
    2。把数据放到Form里的一个hid域
      

  4.   

    leitz(寻找快乐的人)
    能具体些吗?最好给个例子,谢谢!