实现弹出对话框,选择“确定”与“取消”的对应操作!
1 实现弹出对话框,选择“确定”与“取消”的对应操作!
2 this.ClientScript.RegisterStartupScript(typeof(string), "alert", "if(confirm('您第一登录系统,请修改密码?')==true){location.href='index.aspx?updatepwd=yes';}else{location.href='index.aspx?updatepwd=no';}", true);
2 this.ClientScript.RegisterStartupScript(typeof(string), "alert", "if(confirm('您第一登录系统,请修改密码?')==true){location.href='index.aspx?updatepwd=yes';}else{location.href='index.aspx?updatepwd=no';}", true);