怎样使Response.Redirect("***.asp")转到目标为_top,我用的是框架,在main上用Response.Redirect这个应该怎样写?才能在_top中显示?

解决方案 »

  1.   

    1分也没。晕
    Response.Write("<Script>_top.location.href='没分的贴子.asp';</Script>")
      

  2.   

    这样不行啊。
    我换成这样:
    Response.Redirect("<Script>_top.location.href='precinct.asp';</Script>");地址栏中出现
    http://localhost/<Script>_top.location.href='precinct.asp';</Script>
      

  3.   

    this.Response.Write("<script>alert('登陆超时或者违法登陆,请重新登陆!!');top.window.location.href='index.asp';</script>");
      

  4.   

    在c#中写!我要写成Response.Redirect(****)
      

  5.   

    谢谢xiaokeai12925() ,可惜我没有分了。
    支持你!