解决了 Response.Write("<script>if(confirm('确定')==true){window.open('materialobject.aspx','main'); }</script>");