locked
Page loading twice due to ServerReport RRS feed

  • Question

  • User1679300671 posted

    I am adding the report to a reportviewer from the codebehind. But due to some reason the page is loading twice. Is there is way to fix it, so that it loads only once as if it loads twice, I loose all the data from dynamic controls?

    Code I am using is:

      ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
      ReportViewer1.ServerReport.ReportServerUrl = New Uri("ServerURL")
      ReportViewer1.ServerReport.ReportPath = "ReportPath"
      ReportViewer1.ServerReport.Refresh()

    Thanks!!

    Friday, November 11, 2011 9:55 AM

All replies

  • User-8475372 posted

    On which button action did you put this code ? 

    Monday, November 14, 2011 12:20 AM