Radwindow popup on another radwindow

3 posts, 0 answers
  1. Claude
    Claude avatar
    9 posts
    Member since:
    May 2010

    Posted 03 Jun 2010 Link to this post

    Hi team,

    I have a radwindow1 as a popup to the main window, and also have radwindow2 as a popup to radwindow2.
    I have managed to make the main window pop radwindow1, the problem comes when i want to make radwindow1 pop radwindow2.

    Problem:
    when radwindow2 pops up radwindow1 closes but i need it to remain open so that when i close radwindow2 the active window will be radwindow1.

    Im using this code to open radwindow1 from radwindow2:

     function GetRadWindow() {  
                    var oWindow = null;  
                    if (window.radWindow) oWindow = window.radWindow;  
                    else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;  
                    return oWindow;  
                }  
     
                function clickHandler(sender, eventArgs) {  
                    var item = eventArgs.get_item();  
                    if (item.get_text() == "Add Existing Group") {  
                      
                        var oBrowserWnd = GetRadWindow().BrowserWindow;  
                        
                        oBrowserWnd.radopen("Existing_Groups.aspx""RadWindow1");  
                  
                        eventArgs.set_cancel(true);  
                    }  
                } 

    Thanxs in advance 
  2. Andrew Galea
    Andrew Galea avatar
    22 posts
    Member since:
    Nov 2009

    Posted 03 Jun 2010 Link to this post

    I have been just going through a similar problem and got it working following this post:


    Regards,
    Andrew
  3. Claude
    Claude avatar
    9 posts
    Member since:
    May 2010

    Posted 03 Jun 2010 Link to this post

    Andrew,

    Thanks very much. Everything is now working

    Regards,

    claude
Back to Top