本来打开新页面时使用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>");
解决
作者:陈敬(公众号:敬YES)
出处:http://www.cnblogs.com/janes/
博客文章仅供交流学习,请勿用于商业用途。如需转载,请务必注明出处。