P
prefect
I am trying to make a file download functionality similiar to the downloads
at www.microsoft.com/downloads/
I have a FileDownload.aspx page. when user clicks download button , i open a
popup and the file identifier is sent to FileDownload.aspx . I use
Response.WriteFile( ) to send the file to client. But how do i close the
Popup after the "Save File" window appears ?
Putting a delay to wait for the response to reach the client seems to work.
But at microsoft site,i feel like popup closes immediately after "Save
File" window appears.
function openPopup( )
(
display = window.open('FileDownload.aspx?file=...',....)
setTimeout("display.close()",5000);
)
thanks for your help.
ps: i can send the code , if necessary or someone needs.
at www.microsoft.com/downloads/
I have a FileDownload.aspx page. when user clicks download button , i open a
popup and the file identifier is sent to FileDownload.aspx . I use
Response.WriteFile( ) to send the file to client. But how do i close the
Popup after the "Save File" window appears ?
Putting a delay to wait for the response to reach the client seems to work.
But at microsoft site,i feel like popup closes immediately after "Save
File" window appears.
function openPopup( )
(
display = window.open('FileDownload.aspx?file=...',....)
setTimeout("display.close()",5000);
)
thanks for your help.
ps: i can send the code , if necessary or someone needs.