Hi there, I'm having a problem with rad tab and window.
One window opens another window in it and the issue is the inner window doesn't show on the taskbar.
One window opens another window in it and the issue is the inner window doesn't show on the taskbar.
/* This is the source */
function
GetRadWindow() {
var
oWindow =
null
;
if
(window.radWindow)
oWindow = window.radWindow;
else
if
(window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;
return
oWindow;
}
/* opening new window*/
var
urlvalue =
'www.google.com?id='
21312';
oBrowserWnd = GetRadWindow().BrowserWindow;
var
oManager = GetRadWindow().get_windowManager();
var
otabStrip = GetRadWindow().correspondingTabStrip;
oManager.open(urlvalue,
null
);
oManager.maximizeAll();
/* adding tab. this not working correctly I think*/
otabStrip.trackChanges();
var
tab =
new
Telerik.Web.UI.RadTab();
tab.set_text(
'a'
);
oWnd.correspondingTab = tab;
otabStrip.get_tabs().add(tab);
otabStrip.repaint();
tab.correspondingWnd = oWnd;
tab.set_imageUrl(item.get_imageUrl());
otabStrip.commitChanges();
tab.select();