Get file from localsytem to display in Iframe [Resolved]

Posted by Rasagna under ASP.NET MVC on 5/6/2016 | Points: 10 | Views : 310 | Status : [Member] | Replies : 1
Hii ,
My problem here is I have been trying to display a file in an Iframe.It works fine in IE but not working in chrome or firefox.But even in those browsers it opens well in new tab.what can i do with it? Below is the one which I tried.
<iframe id="myiframe" src="file://///GSEV/PdfsFolder/@Model.FileName"></iframe>

thanks in advance


Posted by: Rasagna on: 5/11/2016 [Member] Starter | Points: 25



Rasagna, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response