Our Requirement:
1. Need to open the dynamic pdf file in web browser(IE7/IE8).
2. Protocol: HTTPS
3. Adobe reader 9.X
Work:
I am able to open pdf file in my we browser(IE7/IE8) and that to in HTTPS properly. But rarely my pdf get display grey color.
example: First time i click the button i can able to view the pdf in web browser.
secon time i click the button i can able to view the pdf in web browser.
.
.
nth time im not able to view the pdf. it display grey box.
nth+1 time im not able to view the pdf. it display grey box.
nth+2 time i can able to view the pdf in web browser.
why this happens.
i am Having pdf byte array(byte[]) this byte array should be flushed to the client.
i have set my
is any thing wrong in my response content type?
Thanks and regards
S.Thangaraj
Daniel Val
Ranch Hand
Joined: Jan 09, 2012
Posts: 39
posted
0
Thangaraj Raj wrote:Hi All,
I am able to open pdf file in my we browser(IE7/IE8) and that to in HTTPS properly. But rarely my pdf get display grey color.
Hi,
It seems your pdf gets recognized - otherwise you would not see absolutely anything.
The grey issue is entirely from your client (browser) side, it does not have anything to do with the content type and the rest. If let's say the content type would be wrong, you would see something garbled at best or nothing...