Mandar Shinde

Mandar Shinde

  • NA
  • 423
  • 114.7k

Regarding get path of file

May 16 2019 11:41 PM
Dear All,
I was developing on one component to open pdf file using Angular 5 and ASP .Net MVC 5.
What I am doing is that on click of button I am opening one pdf file which is created using C#.
For opening purpose I am giving its physical path so because of that I can view that pdf using <iframe> to showing purpose.
What should I do to open same file after uploading that project on remote server.
I get come to know that I have to return byte string 64 to Angular from ASP .net, which is I am currently doing after that I am passing to <iframe>.
How can I giev path of that report folder using C#.
Any suggestion will be acceptable.
Thanking you in advance. 

Answers (14)