A页面中有一个<a>,弹出页面B
B页面会处理A页面的一个值,关闭B页面后回到A页面
A页面的其他文本框中的值就没有了

解决方案 »

  1.   

    因为转回来的时候刷新了页面,所以就没有值了~可以考虑跳转的时候保存A页面的值,再次返回的时候判断保存的数据是否为空~不为空就赋值给页面控件~
    要不就用JS弹出层的方式
      

  2.   


    <a href="StandardSelect.aspx?KeepThis=true&TB_iframe=true&height=230&width=355&modal=true"
             class="thickbox" runat="server" id="add">
    <asp:Image ID="Image1" AlternateText="选  择" runat="server" ImageUrl="~/Images/select.png" /></a>
    详细说下 万分感谢
      

  3.   

    http://www.blueidea.com/tech/program/2004/1856.asp
      

  4.   

    B关闭时不刷新,直接赋值给A
    <script>window.opener.document.getElementById('isset').value='1';window.close();</script>
      

  5.   

    其实就是页面跳转
    比如:
    你有个名为txtInput的文本框
    this.txtInput.text="zhang"其中zhang是你输入的数据
    你可以在B也面里获得zhang然后处理string name=((TextBox)this.PreviousPage.FindContorl("txtInput")).Text