function step(str) {
location.href = "DetailsUserMgt.aspx?UserID=" + str;//跳转页面传值
} 前台JS方法
protected void btnCancel_Click(object sender, EventArgs e)
{
System.Web.UI.ScriptManager.RegisterStartupScript(UpdatePanel1, this.GetType(), "提示", "step(" + this.UserIDS.Value + ");", true);
//Response.Redirect("../UserMgt/userMgt.aspx");
}
时间: 2024-10-15 19:27:06