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:
Thanxs in advance
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