Page.RegisterStartupScript("","<script>alert('你已经发送过该意向了,可以在我的交易列表中修改')</script>");如果点上面这个对话框的[确定]按钮,然后转到其它页?

解决方案 »

  1.   

    "<script>alert('你已经发送过该意向了,可以在我的交易列表中修改');lication.href=12.aspx</script>"
      

  2.   

    Page.RegisterStartupScript("","<script>alert('你已经发送过该意向了,可以在我的交易列表中修改');location.href=12.aspx;</script>");
      

  3.   

    也可以
    Response.Write("<script>alert('你已经发送过该意向了,可以在我的交易列表中修改');lication.href=12.aspx</script>");
      

  4.   

    错误显示:lication未定义?????何解????????????????????????????
      

  5.   

    Response.Write("<script>alert('你已经发送过该意向了,可以在我的交易列表中修改');  window.open("youpagefile")</script>");
      

  6.   

    Response.Write("<script>alert('你已经发送过该意向了,可以在我的交易列表中修改');  window.open("youpagefile");</script>");
      

  7.   

    晕,人家的笔误
    alert("信息");self.location='url';
      

  8.   

    换成window.location='gvc.aspx'
    还是'gvc.aspx'未定义
      

  9.   

    换成self.location='gvc.aspx'
    还是'gvc'未定义
      

  10.   

    Page.RegisterStartupScript("","<script>alert('你已经发送过该意向了,可以在我的交易列表中修改');self.location.href=12.aspx;</script>");