top、parent,都是可以的。http://www.w3school.com.cn/jsref/dom_obj_window.asp

解决方案 »

  1.   

    晕!所谓“后台代码”就是要写 clientscriptManager.RegisterStartupScript。但是你知道“后台代码”跟“前端代码”的关系吗?
      

  2.   

    呵呵 又是你哈 老师   我知道它们的关系  我其实应该 就是想用 clientscriptManager.RegisterStartupScript  这个来让iframe的容器窗口跳转?
      

  3.   

    this.Page.ClientScript.RegisterStartupScript(this.GetType(), "", "top.parent.open('Default.aspx');", true);
    或者
    this.Page.ClientScript.RegisterStartupScript(this.GetType(), "", "parent.open('Default.aspx');", true);
    或者
    this.Page.ClientScript.RegisterStartupScript(this.GetType(), "", "window.parent.open('Default.aspx');", true);  都不行达 都是在iframe中跳转的
      

  4.   

    this.Page.ClientScript.RegisterStartupScript(this.GetType(), "", "window.opener('aaa');", true); 这个方法实现了 我执行上面代码之后,需要点其它任何一个按钮才能反应? 这是怎么回事