PDF base64 shows empty in Google chrome and Egde - c#

I want to load pdf from Db and display in my site (Blazor). I tried to use embed/object/frame and it is working in Firefox, but not working in Google Chrome and Edge. Here is my file in JsFiddle:
https://jsfiddle.net/fhd30bko/
When I open this url in Firefox, it shows my file correctly, but it shows empty when I open in Google Chrome or Edge. Any ideas for this error?

Related

download option is not working when i open my website in opera browser

In my asp web form i given a download option to download the image and text which is inside the id:div. it is working when i used the chrome browser but opera and like that browser are not perform the operation. help for in that case.thanks in advance

C# How to read the visible text off chrome webpage

I have used UIAutomation to try and get the visible text off google chrome,
however chrome doesnt allow IsTextPatternAvailable. If there a way that I can read the text off a chrome web page using C# that doesnt depend on apps like selenium and not using chrome extensions...

How can we get the current tab url of safari browser in c#?

I tried it many ways to retrieve the current tab url of safari browser but still unsuccessfull,i am able to retrieve url from IE,mozilla and google chrome browser,the safari browser uses webkitedit.,is there any solution to this browser to get its url

view XLSX file in browser C#

I want to view the XLSX file in browser just like we read the PDF file there.
What plugin or code should i use to achieve it?
I am running the web site in intranet and all the users has the office installed in their PC. And they want to view the file in browser instead of downloading and then view it. The browser i am targeting are IE and chrome.
Let me know comments. Thank you.

I want to get the url from all tabs in Chrome and IE from C# windows form button click

I want to get the URL from all open tabs. I have searched on Google but could not find any luck. I want to read and log the URL from all open tab from Chrome And IE.
I am using C# windows form application.
Thanks in Advance..
Umang
I understand what you need to do but I would be surprised if IE and Chrome would expose the tabs and the urls in a simple and similar way to external applications, I think the way to go is to build a Chrome extension and an IE plugin or Addin to get those information while running within the browser scope, then you can send this info to an external application or to a web service etc... you will find a way to get the info out once you have got this url list inside your own code running with the browser.
see here for some starting point / ideas
Chrome extensions:
http://code.google.com/chrome/extensions/index.html
IE development:
http://msdn.microsoft.com/en-us/library/bb250436(VS.85).aspx

Categories