左边frame点击button刷新 右边frame的 后台代码怎么写,请帮忙,谢谢

解决方案 »

  1.   

    我是想 button取到一个数据库的值,然后传到右边框架怎么写?
      

  2.   

    用JS吧:
    windows.parent.frames['frames'].location.href=url;看有没有帮助
      

  3.   


    Page.RegisterStartupScript("reload","<script>window.parent.main.location=parent.main.location;</script>");
      

  4.   

    或者Page.RegisterStartupScript("reload","<script>window.parent.main.location.reload();</script>");