Click here to Skip to main content
15,867,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello friends,

I have reporting service in my application. I need to export these reports in PDF format and display it in html iFrame tag. I have created code for this, and its working fine in all windows desktop and also in Mac system.

But it's not working in iPad browsers, as it's not fully load exported pdf files in iFrame. So is there any alternate way to display PDF file in iFrame or in any other html tag in web page?

Please help.
Posted

1 solution

There is a tricky way to do this. please save your generated pdf file into project directory programmatically and you can easily create the URL of pdf file. Now assign this path to IFrame.
 
Share this answer
 
Comments
Jack_1991 25-Nov-15 5:36am    
Thanks for your reply, but iFrame is not working in iPad. It is not loading full pdf in iFrame on iPad.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900