Skip to Content
avatar image
Former Member

iframe pdf viewer problem at IE browser

Hi All ,

I am getting PDF data from backend system and showing it in iframe pdf viewer  with codes below . This solution works well at Chrome or Firefox .

var srcURL = "data:application/pdf;base64," +data;
          oHTML.setContent( "<iframe src='"+srcURL+"'  frameborder='0' style='position: absolute; height:100%; border: none' height='100%' width='100%''></iframe>");

But if I run the application at IE browser , it is showing an empty frame .

If you have any idea about it , please let me know .

Thanks .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 22, 2015 at 05:53 PM

    Hi Onur,

    When reviewing the browser developer tools in IE, do you see if the PDF data is loaded correctly?

    in you gateway implementation, did you add the HTTP response header content-disposition?

    data: ls_header type ihttpnvp.

    ls_header-name = 'content-disposition'.

    ls_header-value = 'inline;filename=file.pdf'.

    set_header( ls_header ).

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded