christheprogrammer
Programmer
Good day everyone -
I am trying to display a PDF document on a web page by using Response.Redirect("somefile.pdf" and I have the required plugin.
Now, when the redirection happens, the browser displays a completely white screen with nothing on it (it appears the PDF didn't load). The weird thing is, if I press the browser's back button and then forward button, the pdf loads up perfectly in the browser!
I have tried everything I know about, but this problem won't go away. I have definitely seen pages where a PDF is loaded in the browser, and I never had to press Back then Forward! Why is this happening in my application?
Any sort of input is welcomed - Thanks in advance Chris says: "It's time for a beer."
I am trying to display a PDF document on a web page by using Response.Redirect("somefile.pdf" and I have the required plugin.
Now, when the redirection happens, the browser displays a completely white screen with nothing on it (it appears the PDF didn't load). The weird thing is, if I press the browser's back button and then forward button, the pdf loads up perfectly in the browser!
I have tried everything I know about, but this problem won't go away. I have definitely seen pages where a PDF is loaded in the browser, and I never had to press Back then Forward! Why is this happening in my application?
Any sort of input is welcomed - Thanks in advance Chris says: "It's time for a beer."