Telerik Reporting Export Issues

13 posts, 0 answers
  1. Kiran
    Kiran avatar
    4 posts
    Member since:
    Sep 2011

    Posted 01 Nov 2012 Link to this post

      We are using Telerik Reporting to generate our report, we are facing following problems.

        

        1-  We trying to use export report using on client side using code “<%=ReportViewers.ClientID%>.ExportReport("docx");”. We are not using report viewer toolbar. Other format (PDF,XPS, XLS) is working except DOCX format. It is throwing error “docx rendering format is not available”. I am attaching as image.

    2- We have a new  requirement to add check box against each report items which will enable to select by user to sent mail.
    3- We are using Interactive View, Report is showing left side, we wanted place it in center. Any css is available to override. Same application we are using for IPAD, for all browser as well resolution
    4- On IPAD all Export are not working


    Thanks
    Kiran

  2. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 05 Nov 2012 Link to this post

    Hi Kiran,

    We will answer your inquiries in the order they are raised:
    1. Generally the DOCX/PPTX/XLSX rendering extensions require Telerik.Reporting.OpenXmlRendering.dll and Open XML SDK 2.0 for Microsoft Office (DocumentFormat.OpenXml.dll v.2.0.5022.0 or above). If you want to avoid the installation of Open XML SDK you can reference the required DocumentFormat.OpenXml assembly from C:\Program Files (x86)\Telerik\Reporting Q3 2012\Examples\bin folder.
      Additionally if you main goal is to export the reports without using the report viewer you can directly access the report engine as elaborated in the following help article.
    2. You can add checkbox item in the report definition but it's main goal is data visualization. Thus they are not interactive.
    3. The interactive view can be centered with some javascript. Please, check the following code snippet and give a try:
      <telerik:ReportViewer ID="ReportViewer1" runat="server" Style="border: 1px solid #ccc;"
          Width="99%" Height="99%" />
      <script type="text/javascript">
          ReportViewer.prototype.OnReportLoadedOriginal = ReportViewer.prototype.OnReportLoaded;
        
          ReportViewer.prototype.OnReportLoaded = function () {
              this.OnReportLoadedOriginal();
        
              var iframeID = this.clientID + "ReportFrame";
              var iframe = document.getElementById(iframeID);
              var doc = iframe.contentDocument || iframe.contentWindow.document;
              var body = doc.getElementsByTagName('BODY')[0];
              var page = body.getElementsByTagName('DIV')[0];
        
              page.style.marginLeft = page.style.marginRight = "auto";
          }
      </script>
    4. On our end the report viewer export functionality is working as expected with iPad. If you still experience difficulties please elaborate further and open a support thread with a sample to debug on our end.

    Kind regards,
    Peter
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  3. DevCraft banner
  4. Kamlesh
    Kamlesh avatar
    6 posts
    Member since:
    Mar 2012

    Posted 03 Jan 2013 Link to this post

    Thanks for your reply. It is working fine but some times, when we are regenerating report, it showing left side, when regenerating two or three time then showing in center.

    Thanks
    Kamlesh
     
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 03 Jan 2013 Link to this post

    Hi Kamlesh,

    We're not sure what is the problem you report - this "showing left/center" sounds like a layout issue, which is not related to the problem reported in this thread. Please provide as much details about your problem as possible. Attaching images of the problem or a report/project that exhibits the problem is usually the fastest way to get to the bottom of a problem.

    Regards,
    Steve
    the Telerik team

    HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  6. Kamlesh
    Kamlesh avatar
    6 posts
    Member since:
    Mar 2012

    Posted 03 Jan 2013 Link to this post


    Thanks for quick reply!

    Oh. I forgot to mention, This thread was posted by us ( "Kiran"). I am asking regarding question No-3 

    "We are using Interactive View, Report is showing left side, we wanted place it in center. Any css is available to override. Same application we are using for IPAD, for all browser as well resolution"

    Thanks
    Kamlesh

  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 08 Jan 2013 Link to this post

    Hi Kamlesh,

    We're not sure we understand your question - do you claim that the suggested javascript solution does not work on iPad and how is resolution related to it? Please explain the problem, so we can advise you.

    In general, the provided solution should work on any browser that supports javascript and if it does not on a specific browser, then most likely either javascript is disabled or there are security policies/settings at place.

    Regards,
    Steve
    the Telerik team

    HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  8. Paul
    Paul avatar
    3 posts
    Member since:
    Apr 2014

    Posted 06 Apr 2014 in reply to Peter Link to this post

    Hi Peter,

    Is there a way to do a similar thing but instead of after the report loaded event, after the report is exported to pdf/excel?
    ie: is there an OnReportExported event?

    How exactly can I get client side scripts to run after the report has been exported?

    If the answer is to export the report programatically as per this article (http://www.telerik.com/help/reporting/programmatic-exporting-report.html) how exactly do I get the report instance that is currently being viewed to be passed in to this code? Thanks!





  9. Stef
    Admin
    Stef avatar
    3037 posts

    Posted 09 Apr 2014 Link to this post

    Hello Paul,

    I have answered your other forum post on the same question - Showing page loader while exporting a report.

    If you have any further questions, please let us continue the discussion there.

    Regards,
    Stef
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  10. shami
    shami avatar
    4 posts
    Member since:
    Aug 2016

    Posted 01 Sep Link to this post

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.
    can you help me in this matter?

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.

    can you help me in this matter?

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.

    can you help me in this matter?

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.

    can you help me in this matter?

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.

    can you help me in this matter?

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.

    can you help me in this matter?

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.

    can you help me in this matter?

    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.

    can you help me in this matter?

  11. shami
    shami avatar
    4 posts
    Member since:
    Aug 2016

    Posted 01 Sep Link to this post

    Your quote goes here
    I want to export my report in XPS fromate. I am using Telerik Reporting. PDF, CSV and XLS format are working perfectly but xps dnt. I had also added Xpsrendering.dll but cant succeed.
    can you help me in this matter?
  12. Stef
    Admin
    Stef avatar
    3037 posts

    Posted 01 Sep Link to this post

    Hello Shami,

    Check my post in Export Report IN XPS.

    If you need further help, please let us continue the discussion in one of both threads in order to keep a better track on the exchanged information.
    Thank you for your understanding.

    Regards,
    Stef
    Telerik by Progress
    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
  13. shami
    shami avatar
    4 posts
    Member since:
    Aug 2016

    Posted 01 Sep in reply to Stef Link to this post

    Hello admin, I am doing exactly in the same way as you mentioned, but could not make out of it.

    Do I need another dll with it ?
  14. Stef
    Admin
    Stef avatar
    3037 posts

    Posted 02 Sep Link to this post

    Hello Shami,

    Please check the new KB article that includes more details about the settings - Missing DOCX, XLSX, PPTX, XPS export options.

    Regards,
    Stef
    Telerik by Progress
    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
Back to Top
DevCraft banner