后台调用前台方法

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");
    }
posted @ 2016-05-06 17:28  hxkk  阅读(294)  评论(0编辑  收藏  举报