Results 1 to 7 of 7

Thread: [Solved] Closing Popup Ext.Window from within IFRAME html button

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext User
    Join Date
    Jan 2009
    Vote Rating

    Default [Solved] Closing Popup Ext.Window from within IFRAME html button

    I am having trouble figuring out how to close an Popup Ex.Window from within a page nested in a ManagedIFrame using a standard html button event.
    Have basic level knowledge with Java but slowly learning along with Ext so just need someone to finger point in a direction. My app has a mixture of Ext, ASS Classic and standard HTML.
    Am opening the popup via image link (see code below) which loads the Ext.Window and page url into the ManagedIFrame as specified by winURL. This all works fine.
    I would now like to close this window via an event on the Cancel button. I have tried various methods most resulting in win is not define etc.. which I understand as it cant be seen Im guessing. Im not sure where to go next.
    function showEditWindow(winTitle,winWidth,winHeight,winURL) {
           var win = new Ext.Window({
               title: winTitle,
               width: winWidth,
               height: winHeight,
               modal: 'true',
               layout: 'fit' ,
               items: [new Ext.ux.ManagedIFrame.Panel(
                           loadMask: false
           return win;
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts