Problem with reporting in iPads(iFrame)

2 posts, 0 answers
  1. AR
    AR avatar
    5 posts
    Member since:
    Jun 2006

    Posted 29 Mar Link to this post

    It looks like the reports don't work when being generated in iPad-Safari with our system being iFramed.  It only displays the first page of the report and it looks like the pdf report is not being downloaded. It seems to be opened up in regular browser view 

    I have tried changing the doctype as instructed here but that did not have any effect:

    We are already adding 'Content-disposition' to the response header:
    response.AddHeader("Content-Disposition", string.Format("{0};FileName=\"{1}\"", "attachment", strFileName));

    We have the latest version. 

    Does anybody have any idea what might fix this?


  2. Stef
    Stef avatar
    2932 posts

    Posted 30 Mar Link to this post

    Hi AR,

    Based on the provided description, it looks like the report is exported programmatically and the PDF file is returned to the client in browser e.g. How do I display a PDF directly in the browser without exporting first?

    In such scenario the PDF file will be handled by the browser's PDF plugin, which is not in the scope of the reporting engine. Please check if the tested browsers support PDF previewing in browser, and if the returned response actually contains the PDF file or its bytes.

    Test also the attached web applications, which use the latest available Telerik Reporting v10.0.16.325. The generated PDF files have additiona Adobe Javascript, which will cause the browser's PDF plugins to show their Print dialogs (this will indicate the PDF is loaded in browser).

    On a side note, our recommendation is to test the HTML5 Viewer, that is designed for modern browsers and does not rely on IFRAME elements to display its content.

    I hope this information is helpful.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top