1

I would like to know how to clear the WPF report viewer in ActiveReports. All the articles suggest I assign null to Document property but no such property exists. LoadDocument method loads the report into the viewer but it doesn't take null as parameter. I thought passing null would clear the report.

Robert
  • 2,407
  • 1
  • 24
  • 35

1 Answers1

2

You could use the LoadDocument method with an empty document to clear WPF viewer:

ReportViewer.LoadDocument(new GrapeCity.ActiveReports.Document.SectionDocument());
GrapeCity Team
  • 837
  • 1
  • 5
  • 8