下面页面显示网页的时候是弹出一个页面出来显示的,但我想让它在主框架里面显示页面而不是弹出页面来显示我想请教一下高手该怎么写呢?Response.Redirect("tmpStaffData_collect.aspx? staffid="+111+"&begintime="+txtbegintime.Text+"&endtime="+txtendtime.Text+"&type=2");

解决方案 »

  1.   

    不能用Response.Redirect,
    用javascript:
    parent.main.location.href="tmpStaffData_collect.aspx"
      

  2.   

    location.href
    target框架
    母版页
      

  3.   

    不用Response.Redirect怎么显示出来 请问具体怎么写?
      

  4.   

    不用Response.Redirect怎么显示出来 请问具体怎么写?
      

  5.   

    Response.Write("<script>alert('请先登录!');window.parent.location.href='../login.aspx';</script>");
      

  6.   

    Response.Write("<script>window.parent.location.href='../login.aspx';</script>"); 无提示直接跳转