简体   繁体   English

重定向到IFrame之外的其他页面

[英]Redirect to another page outside of IFrame

I have asp.net page and I have an Iframe inside of the page. 我有asp.net页面,并且页面内部有一个iframe。 In the page that I have inside of the IFrame, I have a link button and the link button will redirect to another page. 在IFrame内部的页面中,我有一个链接按钮,该链接按钮将重定向到另一个页面。

Is there a way I could redirect to another page outside of the IFrame (Redirect from the parent page instead of inside of the IFrame) ? 有什么方法可以重定向到IFrame之外的其他页面(从父页面而不是IFrame的内部重定向)?

Thanks. 谢谢。

您可以将“表单”修改为如下所示:

<form target="_top" id="form1" action="search.aspx" method="post" name="form1">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM