日期:2014-05-19  浏览次数:20465 次

在ifram中弹出新窗体问题
我现在有一个大的窗体   里面嵌套了一个ifram     然后我想通过点击ifram上的按钮跳转到新的页面     我是用这段代码实现的window.location.href= "../Search/SearchProduct.aspx?item=2 ";
但是问题出现了     我跳转后的页面是在ifram中出现的   而我想要实现的是在新窗体中把SearchProduct.aspx?item=2这个页面显示出来!     使用了几种别的方法都不行  

包括window.open()     .........


请高手指教!

------解决方案--------------------
<script> window.open( '/WebSite/FreeState/InfoAnnexAdd.aspx?fileid= " + this.lblInfoID.Text + " ', 'aaa ', 'height=400,width=750,top=0,left=0,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no ') </script>

我都这么用!