I want to open PDF in ASP.NET aspx page. I dont want to export a pdf file.
Need just write pdf file in ASPX page same as we are writing bytes into Image control.
I got the answer , it is too simple.
I have answered here.
Response.Clear(); string filePath = "myfile.pdf"; Response.contentType = "application/pdf"; Response.WriteFile(filePath); Response.End();