G
Guest
I have an asp.net page. Which has links to few files.
When a user clicks a link, I open a new window and execute a download.aspx
file which writes the content of that file into the browser so that user can
save it in a new window. I'm doing it with the following code....
Response.AddHeader("Content-Disposition", "attachment; filename=" +
this._fileName);
Response.ContentType = "Application/octet-stream";
Response.WriteFile(actualPath);
Response.Flush();
Response.End();
When the file is downloaded the window stays open... How can I close this
window?
Thnx
When a user clicks a link, I open a new window and execute a download.aspx
file which writes the content of that file into the browser so that user can
save it in a new window. I'm doing it with the following code....
Response.AddHeader("Content-Disposition", "attachment; filename=" +
this._fileName);
Response.ContentType = "Application/octet-stream";
Response.WriteFile(actualPath);
Response.Flush();
Response.End();
When the file is downloaded the window stays open... How can I close this
window?
Thnx