I have an issue with my website and IE. I have a file Document.ashx that becomes a document from my database depending on the parameter passed in the query
dynamic create Iframe ,set the src to the download page loaction , append to the body.
function downloadInIFrame(fileId) {
var url = "download.aspx?fileId=" + fileId;
var iframe = document.createElement("iframe");
iframe.src = url;
iframe.style.display = "none";
document.body.appendChild(iframe);
}
those code works well for me.