本来打开新页面时使用response.write("<script>window.open('DetailItem.aspx?ID={0}','', 'height=460, width=360, top=0,left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no');</script>");
后来改为:
Page.RegisterStartupScript("js", "<script>window.open('DetailItem.aspx?ID={0}','', 'height=460, width=360, top=0,left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no');</script>");
解决