I am opening a radwindow from within a radwindow using the technique discussed here: http://www.telerik.com/help/aspnet-ajax/window_programmingopeningfromwithin.html.
It works perfectly when calling from an asp or classic form button, but when I call the exact same function from a dropdownlist or radmenu the second window opens behind the first . Maybe there is another event firing on the calling window that is causing it to stay active? Any ideas?
function openWin(strURL) {
var parentPage = GetRadWindow().BrowserWindow;
var parentRadWindowManager = parentPage.GetRadWindowManager();
var oWnd2 = parentRadWindowManager.open(strURL);
}
<button onclick="openWin('http://google.com');">test</button> ---this works correctly
<select onchange="openWin('http://google.com');"><option>1 </option><option>2 </option></select> ---this opens the second window behind the first
It works perfectly when calling from an asp or classic form button, but when I call the exact same function from a dropdownlist or radmenu the second window opens behind the first . Maybe there is another event firing on the calling window that is causing it to stay active? Any ideas?
function openWin(strURL) {
var parentPage = GetRadWindow().BrowserWindow;
var parentRadWindowManager = parentPage.GetRadWindowManager();
var oWnd2 = parentRadWindowManager.open(strURL);
}
<button onclick="openWin('http://google.com');">test</button> ---this works correctly
<select onchange="openWin('http://google.com');"><option>1 </option><option>2 </option></select> ---this opens the second window behind the first