刚学,求asp.net(c#)用按钮调用其它.aspx页面的代码

解决方案 »

  1.   

    如果只是调用一个页面的话,可以用前台来实现
    1.this.Button1.Attributes.Add("onclick", "window.open('b.aspx')");也可以:
    2.Response.Redirect("b.aspx");
    3.Response.Write("<script>window.open('b.aspx')</script>");
    4.Page.RegisterStartupScript("check", "<script>window.open('b.aspx')</scirpt>);
    5.Page.RegisterClientScriptBlock("check", "<script>window.open('b.aspx')</scirpt>);
      

  2.   

    Response.Write("<script>open('rightbottom2.aspx','rightbottom2new','toolbar=no,resizable=yes,directories=no,menubar=no,location=no,width=450,height=300');</script>");
      

  3.   

    conghui(买票真难)的方法很全的!
    结贴吧