This document describes how to implement a report storage to persist report definitions in a database or in any other custom location. This enables end-users to create and customize reports in the Report Designer and have a common target for saving and sharing all reports.
To accomplish the described functionality, do the following.
Create a custom report storage object by implementing the IReportStorage interface.
Override the following methods provided by the IReportStorage interface.
IReportStorage.Save - Saves the currently edited report. The method's parameters are the following.
After you have defined the custom report storage type, assign it to the ReportDesignerBase.ReportStorage property (for instance, in the Window's Loaded event handler).
Online Example: WPF End-User Report Designer - How to Implement a Report Storage