后台弹框。刷新不提示确认VB或.NET

Page.ClientScript.RegisterStartupScript(Page.GetType(), "message1", "<script language='javascript'>alert('添加成功');document.forms[0].submit();</script>")

Page.ClientScript.RegisterStartupScript(Page.GetType(), "message2", "<script language='javascript'>alert('移除成功');  self.opener.location.reload(); </script>")

Page.ClientScript.RegisterStartupScript(Page.GetType(), "message2", "<script language='javascript'>alert('移除成功');  location.reload(); </script>")
posted @ 2016-07-29 14:08  离。  阅读(15)  评论(0编辑  收藏  举报