how can I create a window and load A.aspx to the inside of this window,but I wanna render window to the form1 element.(Main.aspx).when I clcik the button run my script and load it.(I need to iframe also)
something like this.
function CretaeWindow(Id, title, path, width, height, icon) {
var win = new Ext.Window({
title: title
, width: width
, height: height
, renderTo: Ext.getBody()
, flex: "1"
, closeAction: "destroy"
, Layout: "Anchor"
, iconCls: icon
, modal: true
, loader: {
url: path,
renderer: "frame",
loadMask: {
showMask: true,
msg: "loading.."
}
}
});
win.show();
}
however I at this time I coulnt reach the this window Id from codebehind :)