Tag : View Pdf on browser

Home » Posts tagged View Pdf on browser"

Step 1:  Add the below namespave on the top of the code behind of web page using System.Net; Step 2 : You can call the below method to View Pdf on browser using asp.net:- public void viewebook(string pdf_filepath) { string FilePath = Server.MapPath(pdf_filepath); WebClient User = new WebClient(); Byte[] FileBuffer = User.DownloadData(FilePath); if (FileBuffer != ..

Read more