1. 程式人生 > >彈出提示框,並且進行頁面跳轉

彈出提示框,並且進行頁面跳轉

ScriptManager.RegisterStartupScript(this, this.GetType(), "", "if(confirm('註冊成功!')){location.href='../Login/login.aspx'}", true);