Search code examples
c#wpfreporting-servicesflowdocumentreportviewer2008

Anyway to load RDL report content into a WPF FlowDocument or similar?


I would like to know if someone have created a RDL report (running it in Reporting Services), and loaded it into a WPF component like FlowDocument.

Since RDL is just a XML, perhaps there's a way to parse the result and avoid using this WindowsFormsHost in order to use the Report viewer control.

Would be really nice to have another control rather than this Report Viewer within WindowsFormsHost integration.

thank you!


Solution

  • RDL is XML, but very complicated XML. What you want is basically the ReportViewer rewritten in WPF. Not a small task at all.

    One thing that springs to mind is requesting the report directly from the server and capturing the returned HTML, and embedding that HTML in a WPF control that can render it. But I've never tried that.

    Generally speaking, so far, there is not a good solution for mixing Reporting Services and WPF/Silverlight.