Redirect to another page in parent from radWindow

2 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    1 posts
    Member since:
    Feb 2014

    Posted 25 Feb 2014 Link to this post

    hello all,
    plz i have a problem 
    i open page in radWindow , then in page_Load action on specific condition the page will be redirect to another one
    that already happen but it redirected inside the radWindow , and when i add a javascript function to do that it open a new windows
    how can i redirect to the page in parent window 
    plz help 
  2. Marin Bratanov
    Marin Bratanov avatar
    3899 posts

    Posted 26 Feb 2014 Link to this post

    Hello Ahmed,

    This is the expected behavior of pages loaded in iframes - they modify only their own context.
    Perhaps what you need is a frame buster that will let your pages go to the top frame if you need them to. You can see simple examples here: and look in the net for more options (like automatically clicking anchors with target=_top).
    An alternative is to register a script that will use JavaScript (or another frame buster) to load the desired page in the topmost frame instead of a code-behind redirect, but the logic is, essentially the same:

    Marin Bratanov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top