tags:

views:

107

answers:

2

Is there any way to open pdf on <iframe> or <object> passing byte[] data? i have pdf on byte form.i am using c#

+1  A: 

Why not just point the iframe to a specific aspx page that renders the pdf?

Tejs
A: 

We can handle this according to this. We can pass byte data in data of object.

<embed src="Path of file/(you can return file in byte form)"  width="960" height="900">
 </embed>
Pankaj