protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Redirect("<script language=javascript>parent.window.opener.location='VipMain/KaoQin/MyKaoQin.aspx';</script>");
        }

解决方案 »

  1.   

    应该是  Response.Write吧。。
    iframe 有个属性,你可以通过 javascript获取他的id  对他的src属性赋值就是了。  Response.Write("<script language=javascript>Document.getElementByid('id').src='VipMain/KaoQin/MyKaoQin.aspx';</script>");
      

  2.   

     protected void Button1_Click(object sender, EventArgs e)
      {
      Response.Write("<script language=javascript>parent.window.opener.location='VipMain/KaoQin/MyKaoQin.aspx';</script>");
      }
      

  3.   

    window.top     window.parent
      

  4.   

    Response.Write("<script language=javascript>top.location.href='../../Login.aspx'</script>");