Current filter:
                                You should refresh the page.

                                You are using an older version of the DevExpress Support Center.

                                  • [DevExpress Support Team: CLONED FROM T756640: Web Report Designer - Memory leaks in browser while using designer in Angular application]
                                    But, i found a new break changes in this 19.1.5 version.
                                    The variable "DevExpress":

                                    import DevExpress from '@devexpress/analytics-core';

                                    doen't have the object "Report" according below:

                                    DevExpress.Report.Preview.AsyncExportApproach = true;

                                    Thanks.

                                    import { Component, ViewEncapsulation } from '@angular/core';
                                    import { Input } from '@angular/core';
                                    
                                    import DevExpress from '@devexpress/analytics-core';
                                    //import { Report } from "devexpress-reporting/dx-webdocumentviewer";
                                    
                                    @Component({
                                      selector: 'app-reports-viewer-devex',
                                      templateUrl: './reports-viewer.devex.component.html',
                                      encapsulation: ViewEncapsulation.None,
                                      styleUrls: [
                                        '…/…/…/node_modules/jquery-ui/themes/base/all.css',
                                        '…/…/…/node_modules/devextreme/dist/css/dx.common.css',
                                        '…/…/…/node_modules/devextreme/dist/css/dx.light.css',
                                        '…/…/…/node_modules/@devexpress/analytics-core/dist/css/dx-analytics.common.css',
                                        '…/…/…/node_modules/@devexpress/analytics-core/dist/css/dx-analytics.light.css',
                                        '…/…/…/node_modules/devexpress-reporting/dist/css/dx-webdocumentviewer.css'
                                      ]
                                    })
                                    export class ReportsViewerDevexComponent {
                                      reportUrl = 'reportTeste|preview';
                                      hostUrl = 'http://localhost:7017';
                                      invokeAction = '/DXXRDV';
                                    
                                      constructor() {
                                        DevExpress.Report.Preview.AsyncExportApproach = true;
                                      }
                                    
                                      CustomizeElements(event) {
                                        if (event) {
                                        }
                                      }
                                    
                                      OnServerError(event) {
                                        //if (event) {
                                         //DevExpress.ui.notify({ message: 'Duplicate report name is not allowed', type: 'error' })
                                       //}
                                      }
                                    }

                                1 Solution

                                Creation Date Importance Sort by

                                Hi Luiz,
                                 
                                This change is caused by the fact that we introduced TypeScript definitions for our components. Check the Web Reporting - TypeScript Definitions (v19.1) blog post for more information. To do that, we have performed a major refactoring. This will make it easier to use our components' client-side API in Angular applications. Also, our client-side API documentation is now available on our documentation website: Client API Reference.
                                 
                                In any case, to resolve this issue, it is necessary to use the following imports syntax:
                                 

                                import DevExpress from "devexpress-reporting"; 
                                ... 
                                DevExpress.Reporting.Viewer.Settings.AsyncExportApproach = true;
                                • Licensemanager 08.28.2019

                                  This documentation is missing from the docs.devexpress.com website.
                                  Please update the current documentation.

                                • Vasily (DevExpress Support) 08.29.2019

                                  Hi,
                                   
                                  Thank you for your update. Yes, you are right the DevExpress.Reporting.Viewer.Settings.AsyncExportApproach property is not documented at the moment. I passed your request to our documentation team. In any case, while this API is not documented, feel free to contact us here if you have any questions regarding this API. We will be happy to help you.