Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10473

Re: Problem refreshing report after printing.

$
0
0

Hi Edward,

  I use a session var in a similar fashion.  Perhaps the issue is there.  See below.  The code works (paging, go to, drill down) until the user prints or exports.  After that, I essentially have to kill the session ( close browser window) to get it to function again.

 

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load

        If IsPostBack Then

            CrystalReportViewer1.ReportSource = Session("Report")

            CrystalReportViewer1.DataBind()

        Else

     ' configure the report viewer options

                configureReport()

        End If

    End Sub

 

Thanks,


Viewing all articles
Browse latest Browse all 10473