c# - Redirect the parent page from IFrame -
i using iframe, , iframe want redirect page.
please tell me how without javascript, ie, no window.location
.
response.redirect
shows page in iframe, want show page main page.
it hazard if can manipulate other frames/window withou using client-side scripts or user-invoked actions.
here's list of alternatives:
javascript options:
window.top.location.href=thelocation; window.parent.location.href=thelocation; window.top.location.replace(thelocation);
non-javascript options:
<a href="thelocation" target="_top">click here continue</a> <a href="thelocation" target="_parent">click here continue</a>
Comments
Post a Comment