2 modal windows - get handle on first pop up

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    376 posts
    Member since:
    Aug 2008

    Posted 11 Nov 2015 Link to this post

    Hi all

     I have a pop up modal window, which itself has a further pop up window.

    I have Teleriks script to refresh the underlying window:

     And for the first pop up its works fine, problem is I have the same script on the second pop up, but the GetRadWindow() returns oWindow is undefined.

    What do I need to do to get the GetRadWindow() to find both the original page and the first pop up?

    function GetRadWindow() {
        var oWindow = null;
        if (window.radWindow) oWindow = window.radWindow;
        else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
        return oWindow;
    function CloseAndRebind(args) {


  2. Marin Bratanov
    Marin Bratanov avatar
    5313 posts

    Posted 11 Nov 2015 Link to this post

    Hi Andy,

    I advise you start from the following resources:


    Marin Bratanov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top