首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

在ifram中弹出新窗体有关问题

2012-02-12 
在ifram中弹出新窗体问题我现在有一个大的窗体里面嵌套了一个ifram然后我想通过点击ifram上的按钮跳转到新

在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>

我都这么用!

热点排行