This is a migrated thread and some comments may be shown as answers.

Telerik Reporting Export Issues

12 Answers 710 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kiran
Top achievements
Rank 1
Kiran asked on 01 Nov 2012, 07:07 AM

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

12 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 05 Nov 2012, 01:05 PM
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!

0
Kamlesh
Top achievements
Rank 1
answered on 03 Jan 2013, 02:00 PM
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
 
0
Steve
Telerik team
answered on 03 Jan 2013, 02:51 PM
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!

0
Kamlesh
Top achievements
Rank 1
answered on 03 Jan 2013, 04:04 PM

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

0
Steve
Telerik team
answered on 08 Jan 2013, 12:24 PM
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!

0
Paul
Top achievements
Rank 1
answered on 06 Apr 2014, 10:50 PM
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!





0
Stef
Telerik team
answered on 09 Apr 2014, 05:31 PM
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.

 
0
shami
Top achievements
Rank 1
answered on 01 Sep 2016, 10:19 AM
I want to export my report in XPS . I am using Telerik Reporting. PDF, and XLS format are working perfectly but . I had also added Xpsrendering.dll but .
can you help me in this matter?

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

can you help me in this matter?

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

can you help me in this matter?

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

can you help me in this matter?

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

can you help me in this matter?

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

can you help me in this matter?

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

can you help me in this matter?

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

can you help me in this matter?

0
shami
Top achievements
Rank 1
answered on 01 Sep 2016, 10:20 AM
[quote]Your quote goes here[/quote]I want to export my report in XPS . I am using Telerik Reporting. PDF, and XLS format are working perfectly but . I had also added Xpsrendering.dll but .
can you help me in this matter?
0
Stef
Telerik team
answered on 01 Sep 2016, 02:28 PM
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
0
shami
Top achievements
Rank 1
answered on 02 Sep 2016, 04:42 AM
Hello admin, I am doing exactly in the same way as you mentioned, but could not make out of it.

Do I need another with it ?
0
Stef
Telerik team
answered on 02 Sep 2016, 01:52 PM
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
Tags
General Discussions
Asked by
Kiran
Top achievements
Rank 1
Answers by
Peter
Telerik team
Kamlesh
Top achievements
Rank 1
Steve
Telerik team
Paul
Top achievements
Rank 1
Stef
Telerik team
shami
Top achievements
Rank 1
Share this question
or