ReportsModuleV2.ReportStoreMode Property
Specifies the format used to store reports in the ReportsStorage.
Namespace: DevExpress.ExpressApp.ReportsV2
Assembly: DevExpress.ExpressApp.ReportsV2.v18.2.dll
Declaration
[DefaultValue(ReportStoreModes.DOM)]
public ReportStoreModes ReportStoreMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ReportStoreModes | **DOM** | A ReportStoreModes enumeration value that specifies the format used to store reports. |
Available values:
Name | Description |
---|---|
DOM | Reports are stored in the DOM format. |
XML | Reports are stored in the XML format. Using this format instead of DOM can decrease the loading time of complex reports. |
Remarks
Supported formats are DOM and XML. Using the XML format instead of DOM can decrease the loading time of a complex report. You can change the ReportStoreMode value in the Application Designer.
Important
- Ensure that you use the same ReportStoreMode value in all versions of your application that utilize the same database (WinForms and ASP.NET).
- Reports 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.
The Solution Wizard sets the ReportStoreMode value to XML an all newly created XAF applications.
See Also