Linked Questions
27 questions linked to/from Open links made by createObjectURL in IE11
13 votes
1 answer
21k views
Windows Edge and opening a blob url [duplicate]
I'm getting some odd results when trying to open a new window with a blob url in Windows Edge (20.10240.16384, which is the version in the IE11 VM supplied by Microsoft). var xhr = new XMLHttpRequest(...
7 votes
1 answer
7k views
Not allowed to load blob pdf resource in Microsoft Edge [duplicate]
This app is used to collect information from a DB and make a .pdf file from it. this.reportsService.getTelerikReport({ reportId: this.selectReportId, startDate: this.startDate, endDate: this.endDate, ...
506 votes
26 answers
1.1m views
Download a file asynchronously using Ajax
I have a Struts2 action in the server side for file downloading. <action name="download" class="com.xxx.DownAction"> <result name="success" type="stream"> <param name="...
74 votes
11 answers
321k views
PDF Blob - Pop up window not showing content
I have been working on this problem for the last few days. With no luck on trying to display the stream on <embed src> tag, I just tried to display it on a new window. The new window shows PDF ...
22 votes
6 answers
105k views
Opening PDF file in new tab angular 4?
I tried opening a PDF file using the window.open(), but the window opens and closes automatically and the file is downloaded like any other file. How to make the pdf file open in new tab? There are no ...
23 votes
4 answers
48k views
Angular2 Displaying PDF
I have an angular2 project with an ASP.Net Web API. I have code to retrieve a file path from my database which goes to a document on my server. I then want to display this document in the browser in a ...
27 votes
1 answer
67k views
Downloading file from ajax result using blob
I use this code to download excel file from server. $.ajax({ headers: CLIENT.authorize(), url: '/server/url', type: 'POST', contentType: "application/json; charset=utf-8", data: ...
12 votes
3 answers
47k views
How to Print Pdf in Angular 2
I have URL of pdf file for exa url is "test.example.com/incoice/1/download?auth_token="some_token", when I visit this url, url will show me PDF in browser. Now I want to open this pdf with print ...
7 votes
3 answers
32k views
Alternative to msSaveOrOpenBlob on Chrome
i need to find alternative to "msSaveOrOpenBlob ", that work on IE, for Firefox and Chrome. On Chrome in particular that not work and don't show the dialog box to chose if save or open file. ...
15 votes
1 answer
9k views
Need to open blob/PDF in IE window
I have the code below in my typescript to call a web api method and retrieve a binary byte array (blob) that is a PDF. My user requirement is to open PDF in a new window. $scope.selectRow = (...
2 votes
2 answers
13k views
Calling WEB API to download excel file
below is C# WEB API Code to generate Excel : public class FileExportController : ApiController { [HttpGet] public HttpResponseMessage Get() { var callerContext = CallerContext....
0 votes
0 answers
4k views
Open application/octet-stream (pdf) in internet explorer with Javascript
In my backend API, i am streaming a pdf in application/octet-stream format. In front end, for any browser i just create a blob, and open it after: var request = new XMLHttpRequest(); request.open("...
3 votes
1 answer
2k views
Is it possible to download a blob file in Edge on iOS?
I'm trying to support downloading a file from an API in Edge on iOS. The file is downloaded as a blob, and we already have solutions in place for downloading on Safari and Chrome (Using ...
0 votes
1 answer
4k views
Embedding PDF in IE11 and Microsoft Edge (is possible)
I currently take a base 64 encoded string that represents a PDF file and convert it to a blob in AngularJS using the following code (simplified): var base64PdfToBlob = function(b64Data: string, ...
8 votes
2 answers
1k views
Rendering PDF via Angular $http instead of XMLHttpRequest
So I have spent weeks researching how to get a pdf from the server via ajax and then show it to the client. The reason I need to do this is a user can't just go to the pdf directly on the server, ...