Hi Hugues
Yes is is possible.
Place the following code in your desktop aspx page. Replace
MyDesktop.getDesktop(); with
YourDesktopID.getDesktop();
function createDynamicWindowChild(urls, descr, ids, ht, w, maxi) {
if (ht == 0) {
ht = screen.availHeight - 220;
}
var desk = MyDesktop.getDesktop();
var windows = desk.getManager().getBy(function() { return true; });
var i = 0;
for (i = 0; i <= windows.length - 1; i++) {
if (windows[i].id == ids) {
windows[i].show();
return
}
}
var w = desk.createWindow({
id: ids,
title: descr,
width: w,
height: ht,
maximizable: true,
minimizable: true,
pageX: 10,
pageY: 10,
autoscroll: false,
autoLoad: {
url: urls,
maskMsg: "Loading...",
mode: "iframe",
showMask: true,
CenterOnLoad: "false"
}
});
if (maxi == "M") {
w.maximize()
}
w.show();
}
Then in the child window, with javascript, to call the new window use the following code. If you put an M where the N is the window will be maximized
parent.createDynamicWindowChild('Youraspx', 'Title', 'idofwindow', 500, 900, 'N');
Hope this helps