Last post May 02, 2012 05:33 AM by roopeshreddy
May 01, 2012 11:21 AM|User Name|LINK
I have a byte array in the database and i need to show that in a pdf file format. Here is the way i did that. However, this doesn't work on Android tablets(checked in 2.3.5 and 3.2).
Response.ContentType = "application/octet-stream";
Response.BufferOutput = true;
Response.Buffer = false;
Response.OutputStream.Write(binaryData, 0, binaryData.Length);
Can you guys think of any way i could make it work on all the browsers?
Appreciate the help
May 02, 2012 05:33 AM|roopeshreddy|LINK
Why don't you create a PDF file at server, and push that file to the device browser!
Hope it helps u...