mojoportal中弹出窗口
弹出消息窗口
Page.ClientScript.RegisterStartupScript(this.GetType(), "msg", "<script>alert('弹出消息!');</script>");
弹出消息窗口并转到新的连接
string url = SiteUtils.GetCurrentPageUrl();
Page.ClientScript.RegisterStartupScript(this.GetType(), "msg", "<script>alert('无下载权限!');location.href='" + url + "';</script>");