Re: redirect after download dialog

2009-08-28 Thread Bryan Paddock
If you really need to do that you may be able to accomplish it by providing the file download inside an iframe and then redirecting the main window... I haven't tried this... it's just an idea... On Fri, Aug 28, 2009 at 3:15 AM, brian wrote: > > You can't. In order to have the browser present th

Re: redirect after download dialog

2009-08-27 Thread brian
You can't. In order to have the browser present the user with a "save" dialog, certain headers need to be sent. By the time that's happened, it's too late to send a redirect header. On Thu, Aug 27, 2009 at 5:35 PM, Martin Radosta wrote: > > Let's say I have a view that renders an excel file to do

redirect after download dialog

2009-08-27 Thread Martin Radosta
Let's say I have a view that renders an excel file to download. It presents a download dialog to the user. This user can decide to save the file to the local drive, to open the file or to cancel the operation. Now I need to redirect somewhere else after any operation with the download dialog.