c#后台执行js弹窗art.dialog,成功后跳转页面

发布时间 2023-03-27 21:03:21作者: 请叫我七哥
 string msbox = "<script>dialog({title: '修改成功',content:'修改成功', width: '180px',height: '100px',okValue: '确定',ok: function () {";
                          msbox += " document.location.href ='XX.aspx'";
                msbox += "},  }).show();</script>";

                 
                ClientScript.RegisterStartupScript(this.GetType(), "l",msbox);