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

 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);
posted @ 2023-03-27 20:55  请叫我七哥  阅读(81)  评论(0编辑  收藏  举报