ReportViewer - Refresh displays ENTIRE report table twice

Here is my scenario:

I have two different reports processed LOCALLY, lets say Report1.rdlc and Report2.rdlc. They both are populated with data from a database, and they both also take a list of parameters. Each report has a button the user clicks to view them, AND, they both WORK.

HOWEVER, when the user clicks the button a second time, [nothing has changed in the report] the table on the report is displayed AGAIN, right below table from the last load. I'm talking the WHOLE table, not just the records in it. Shouldn't it REPLACE the table instead of displaying it TWICE? The rest of the textboxes and images aren't displayed a second time, only the table is.

I thought I had tried everything.

reportViewer.Reset();
reportViewer.LocalReport.DataSources.Clear();
reportViewer.LocalReport.Dispose();

It seems as if the reportviewer has a cache or something in which it holds onto the report. I tried fix the problem by only using one report viewer and changing the reportpath, datasource, etc., but that didn't work either.

I have researched this for a couple of days, and since no one else seems to have had this problem, I must be doing something REALLY wrong.

[1253 byte] By [jlgroos] at [2008-1-7]

Visual Studio

Site Classified