Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i am working with an application in which i create a pdf. After created pdf i want to load this for user. i am using <object> tag to show the pdf. it works fine on local machine. but when i deploy my application to server then it take very long time to show the pdf. mean for 2 mb file it takes around 2 mint to load the pdf.
please tell me the fastest way with example. i also tried and embeded&gt;.
but nothing works fine on server.


thanks

What I have tried:

C#
<object data="@Url.Action("PrintPDF")" type="application/pdf" width="940" height="500"></object>


@**@
Posted
Updated 26-Dec-16 0:47am
v3
Comments
Kornfeld Eliyahu Peter 26-Dec-16 7:15am    
It sounds like a networking problem... Check your network time (use sniffer or browser's built in profiler)

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