Last Updated: 20 Jun 2019 13:14 by ADMIN
Release R2 2019 SP1
Created on: 01 Apr 2019 11:41
Type: Bug Report
Remove the Export to Excel 97-2003 rendering format from applications on Linux platform

When attempting to export a report in Excel 97-2003 format, an exception is thrown: 

"The type initializer for Telerik.Reporting.Excel 97.Workbook threw an exception. Object contains non-primitive or non-blittable data."

As HTML, PDF and OpenXML-based renderings are supported on Linux/macOS machines, please remove the old Excel 97-2003 format.

Posted on: 02 Apr 2019 07:32
Hi Marcelo,

I answered your question in the support ticket that you've opened on the same topic.
Please check the support ticket #1402912 where we can continue the discussion. 

Best Regards,
Progress Telerik
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
Posted on: 01 Apr 2019 11:53

How I make custom export in script?


<script type="text/javascript">

     $(document).ready(function () {
            //Theme switcher
            //    '#theme-switcher',
            //    '#common-css',
            //    '#skin-css');

                    // The URL of the service which will serve reports.
                    // The URL corresponds to the name of the controller class (ReportsController).
                    // For more information on how to configure the service please check
                    serviceUrl: "api/reports/",

                    // The URL for the report viewer template. The template can be edited -
                    // new functionalities can be added and unneeded ones can be removed.
                    // For more information please check
                     //templateUrl: 'ReportViewer/templates/telerikReportViewerTemplate.html',

                    //ReportSource - report description
                    reportSource: {

                        // The report can be set to a report file name (.trdx or .trdp report definition)
                        // or CLR type name (report class definition).
                        report: "@Model.Param.Relatorio",
                        parameters: { "acao": "@Model.Param.acao", "param1": "@Model.Param.param1", "param2": "@Model.Param.param2", "param3": "@Model.Param.param3" }

                        // Parameters name value dictionary
                        //parameters: {""};

                    //parameters: {
                    //    editors: {
                    //        singleSelect: telerikReportViewer.ParameterEditorTypes.COMBO_BOX,
                    //        multiSelect: telerikReportViewer.ParameterEditorTypes.COMBO_BOX,
                    //    }

                    // Specifies whether the viewer is in interactive or print preview mode.
                    // PRINT_PREVIEW - Displays the paginated report as if it is printed on paper. Interactivity is not enabled.
                    // INTERACTIVE - Displays the report in its original width and height without paging. Additionally interactivity is enabled.
                    viewMode: telerikReportViewer.ViewModes.PRINT_PREVIEW,

                    // Sets the scale mode of the viewer.
                    // Three modes exist currently:
                    // FIT_PAGE - The whole report will fit on the page (will zoom in or out), regardless of its width and height.
                    // FIT_PAGE_WIDTH - The report will be zoomed in or out so that the width of the screen and the width of the report match.
                    // SPECIFIC - Uses the scale to zoom in and out the report.
                    scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,

                    // Zoom in and out the report using the scale
                    // 1.0 is equal to 100%, i.e. the original size of the report
                    scale: 1.0,

                    //Enables or disables the accessibility features of the report viewer and its contents.
                    enableAccessibility: false,

                    //If set to true shows the Send Mail Message toolbar button
                    //sendEmail: { enabled: true }