This is a weird one. I have an ASP.Net page with the report viewer control. The report is in a separate dll as per best practice recommendations. When the page comes up, the report area is blank. But, if I export the report to PDF, the report contents are there as expected. What is going on with this?
Clicking the Preview or refresh buttons does not help.
This is the code in the viewer page (the session variable does have a value and it comes in correctly:
VS 2010, Reporting 2012 Q1
Thanks.
Clicking the Preview or refresh buttons does not help.
This is the code in the viewer page (the session variable does have a value and it comes in correctly:
Protected
Sub
Page_Load(sender
As
Object
, e
As
System.EventArgs)
Handles
Me
.Load
'If Not IsPostBack Then
Dim
report1
As
New
PMP2Reports.DocumentsReviewed
Dim
objSession
As
Object
objSession = Session(
"subIdx"
)
If
Not
objSession
Is
Nothing
Then
report1.ReportParameters(
"subIdx"
).Value = objSession
End
If
ReportViewer1.Report = report1
ReportViewer1.RefreshReport()
' End If
End
Sub
VS 2010, Reporting 2012 Q1
Thanks.