在后台代码中设置弹出对话框 Page.ClientScript.RegisterStartupScript(GetType(), "alert", "<script>alert('请输入标题!')</script>");