This is a migrated thread and some comments may be shown as answers.

Radwindow popup on another radwindow

2 Answers 36 Views
Window
This is a migrated thread and some comments may be shown as answers.
Claude
Top achievements
Rank 1
Claude asked on 03 Jun 2010, 03:07 PM
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 Answers, 1 is accepted

Sort by
0
Andrew Galea
Top achievements
Rank 1
answered on 03 Jun 2010, 03:40 PM
I have been just going through a similar problem and got it working following this post:


Regards,
Andrew
0
Claude
Top achievements
Rank 1
answered on 03 Jun 2010, 05:10 PM
Andrew,

Thanks very much. Everything is now working

Regards,

claude
Tags
Window
Asked by
Claude
Top achievements
Rank 1
Answers by
Andrew Galea
Top achievements
Rank 1
Claude
Top achievements
Rank 1
Share this question
or