Click here to Skip to main content
15,670,482 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to redirect to another page from Iframe page but not in inner a iframe. It should be redirect to browser or as parent window.
I can use Response.Redirect method in code behind side or window.location in javascript but I do not know how to redirect to parent page. I dont use html anchor tag and set target as _parent.

Updated 1-Sep-10 1:12am

1 solution

Use parent.location=url; in Javascript
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900