打印gridview中的数据,js中是这样写的<script type="text/javascript">
            function pritinf() {
                var nw = window.open('', '', 'width=800,height=600');
                nw.document.open("text/html", "GB2312");
                nw.document.write('<link rel="stylesheet" type="text/css" href="css/css2.css" />');
                nw.document.write('<body>');
                nw.document.write("<object classid='CLSID:8856F961-340A-11D0-A96B-00C04FD705A2' id='wb'height='0' width='0'></object>");
                nw.document.write(document.getElementById("print").outerHTML); 
                nw.document.write("<scrip" + "t>document.all.wb.ExecWB(6,6)</sc" + "ript>");
                nw.document.write('</body>');
            }
        </script>ie打开的时候总是提示ie已经阻止此站点以不安全的方式使用activex控件,因此,此页面可能显示不正确。然后就不能打印了,请问怎样才能解决,谢谢