Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Modal Popup with Export Grid to Excel. (I can't close it!)
posted

 I have a button that when I click will export a grids contents to excel as a download. When this button is clicked, I execute Client side javascript to popup a modal dialog window to indicate that the system is working.

 What I want to do is catch the end export event via javascript so that I can close my 'Downloading' modal popup that I display when the button is clicked.

 I am not sure what Client events I can hook into on to accomplish this.

  • 45049
    posted

    There is no such event to catch, at least the last time I looked for something similar.  The exporter sends the Excel workbook back to the browser as its response.  You would need to use an event that you can listen to when the browser processes a new response, and I don't believe any such event exists on Internet Explorer or Firefox.