2 Replies Latest reply on Jul 7, 2010 11:36 AM by goldensuits

    navigateToURL

    goldensuits

      Hi,

       

      I have a button, that allows the user to open/save an excel file.

      A new window is opened when the button is clicked and a download dialog box appears

      If we select open, the file opens in the browser, if we select save/cancel the new window stays on top with 'Action Cancelled'

      How do I close the new window if we click the save/cancel button on the dialog box

       

      I can make the navigateToURL in the same window using  '_self' and get around with this problem, but if we click open, it opens in the same window, which is not what I want.

       

      Thank you