重定向到的IFrame的另一页外 [英] Redirect to another page outside of IFrame

查看:399
本文介绍了重定向到的IFrame的另一页外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有asp.net页面和我有网页内的iframe。在我有iframe的内页,我有一个链接按钮和链接按钮将重定向到另一页。

I have asp.net page and I have an Iframe inside of the page. 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的另一页外(从父页面,而不是在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) ?

感谢。

推荐答案

你能修改形式的样子如下:

Can you modify the "form" to look like below:

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

这篇关于重定向到的IFrame的另一页外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆