Hi,

I have a page that creates a new window during runtime:

function createWindow(wintitle,myurl) {           
    var window = new Ext.Window({                
                modal: false,                

                iconCls: 'icon-table',                

                maximizable: true, 

                minimizable:true,               

                title: wintitle, 
                resizable: true,

                header: true,               

                autoLoad:{maskMsg:"Loading...",

                showMask:true,

                mode:"iframe", 

                url:myurl},                
                width:825,                

                height:675,                

                bodyStyle: 'background-color: #fff;'           
     });            
     
     window.show();        
}
The page that I am loading inside that window is another aspx page in the project that has an Ext.Panel as the root object.

My question is how can always make sure that the Ext.Panel is 100% the width and 100% the height of the container Ext.Window?

I am having a hard time getting it to resize when needed. Thanks in advance.