I have a HTML blob path from azure Storage. I tried to open that html in a new window from javascript window.open
method in my application. Each time it tries to download the file in Chrome instead of automatically open it in browser tab. It works fine in Edge.
I don’t want to return FileContentResult
from my controller by setting the content-disposition=inline
in C#.
I want to directly open that HTML via a URL using Javascript.
Tags: browser, file, html, java, javascriptjavascript