I'm dynamically creating a public
ReportViewer and then adding it to the masterpage via a reports base
class. The base class adds the report viewer to the form okay, but the ReportViewer will not
render the report (I never even get a "generating" notification). If I
just drop a report viewer control directly on the page and then *only* change the reference,
it works as expected(example below). Nothing else is changed; which since the viewer
control is actually displaying on the page in both instances, it makes
me believe the Telerik engine is having a problem connecting the report to the viewer or perhaps having problems rendering it to the screen. I
have also noticed I do not get the report parameter inputs for the
dynamically created reportviewer if that helps give any clues to the issue.
ReportViewer1.Report = thisReport; (RV dynamically created in the base class - RV renders fine on page, but displays no report)
##### Just change the reference to the dedicated RV and it then works. #####
ReportViewer2.Report = thisReport; (RV directly put in the page - Everything works as it should)
Is there something out of the ordinary I'm missing for dyanamcily creating a ReportViewer to see the report and then getting it to render? Again, everything works fine for the non dynamically created ReportViewer.
(note: the dynamic created reportviewer is persisted though postbacks as it should)
ReportViewer1.Report = thisReport; (RV dynamically created in the base class - RV renders fine on page, but displays no report)
##### Just change the reference to the dedicated RV and it then works. #####
ReportViewer2.Report = thisReport; (RV directly put in the page - Everything works as it should)
Is there something out of the ordinary I'm missing for dyanamcily creating a ReportViewer to see the report and then getting it to render? Again, everything works fine for the non dynamically created ReportViewer.
(note: the dynamic created reportviewer is persisted though postbacks as it should)