Ticket T275363
Visible to All Users

ReportsV2 - Store a report layout in the XML format

created 10 years ago (modified 9 years ago)

Now the report layout is stored in the DOM format. Using the XML format can decrease the loading time of a complex report.

Answers approved by DevExpress Support

created 10 years ago (modified 9 years ago)

We have implemented the functionality described in this ticket. It will be included in our next update(s).

Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

Additional information:

To store reports in XML format, set the ReportsModuleV2.ReportStoreMode property  to the XML in the Application Designer.


Ensure that you use the same ReportStoreMode value in all versions of your application that utilize the same database (WinForms and ASP.NET). Reports that are previously created by users will fail to open after changing the ReportStoreMode value, with the error message similar to "Data at the root level is invalid. Line 1, position 1". To fix the error, use the module updater demonstrated in the How to fix the 'Data at the root level is invalid. Line 1, position 1.' exception after setting the ReportsModuleV2.ReportStoreMode property to XML KB article. All new projects, created with XAF Soution wizard will store reports in the XML format by default.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.