J
jesper_lofgren
Hello,
I have a bytearray with a pdf document inside. I whant to stream it to
the client (explorer IE) for download.
I just got the bytes writen on the screen , like
%PDF-1.4 %???? 10 0 obj<> endobj xref 10 1627 0000000016 00000 n
0000035440 00000 n 0000032836 00000 n 0000035530 00000 n 0000035570
00000 n 0000035748 00000 n 0000059461 00000 n 0000071166 00000 n
0000083493 00000 n 0000096142 00000 n 0000109794 00000 n 0000125436
00000 n 0000132712 00000 n 0000139138 00000 n 0000152636
00000.........
My Code !
byte[] file = test.GetDocument("38GBRRHRA2QS8B7J");
Response.Clear();
Response.Buffer = false;
Response.ContentType = "Application/pdf";
Response.BinaryWrite(file);
Response.Flush();
I have a bytearray with a pdf document inside. I whant to stream it to
the client (explorer IE) for download.
I just got the bytes writen on the screen , like
%PDF-1.4 %???? 10 0 obj<> endobj xref 10 1627 0000000016 00000 n
0000035440 00000 n 0000032836 00000 n 0000035530 00000 n 0000035570
00000 n 0000035748 00000 n 0000059461 00000 n 0000071166 00000 n
0000083493 00000 n 0000096142 00000 n 0000109794 00000 n 0000125436
00000 n 0000132712 00000 n 0000139138 00000 n 0000152636
00000.........
My Code !
byte[] file = test.GetDocument("38GBRRHRA2QS8B7J");
Response.Clear();
Response.Buffer = false;
Response.ContentType = "Application/pdf";
Response.BinaryWrite(file);
Response.Flush();