点击左边的ifame(leftFrame),使得右边的ifame(MainFrame)页面进行跳转。不是打开一个新的页面,而是只放在mainframe中。可以如下实现:

在button事件中写   
    Response.Write("<script>window.open('testLeftFrame.aspx','mainFrame')</script>");
    Response.Write("<script>javascript:window.close();</script>");

相关文章:

  • 2022-01-31
  • 2022-12-23
  • 2021-10-29
  • 2021-11-12
  • 2022-01-25
  • 2021-11-03
  • 2021-08-06
  • 2021-06-09
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2021-09-20
  • 2021-12-30
  • 2022-01-12
  • 2021-11-04
  • 2021-08-02
相关资源
相似解决方案