close jquery UI dialog when file download begins

Posted by vanillaike on Stack Overflow See other posts from Stack Overflow or by vanillaike
Published on 2010-06-18T14:09:38Z Indexed on 2010/06/18 14:13 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

I am using an ASP.Net MVC site that has a link to an ASP.Net WebForms page that performs the actual download. I would like my jquery ui dialog to close when the download starts. Is there a javascript/jquery event that I can use to accomplish this?

I found an example with exactly what I want to do here, but since I'm using MVC instead of WebForms I can't seem to get it to work.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery