Hello, i have a problem with an aplication. I have a ReportingServices project in wich i have some reports. Then i have a website in wich i want to see the reports that i have. I use a Report viewer to see the reports. The parameters that each report have i built inside the webpage that i have. For this reason i set the showparamateters property to false inside the report viewer. i make all the functionality in order to show the report inside the page and it works fine. I navigate inside the report viewer and go to another link report inside the first report that i show, but the when I wanted to see the first report without click the back button inside the report viewer gives me an error. The thing is that the Report Path changes when i navigate to another report and i can´t go back to the first Report. The code is Here
ProtectedSub btnBuscar_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBuscar.Click
paramList.Add(New ReportParameter(some value ...)
paramList.Add(New ReportParameter(some value ...)ReportViewer1.ServerReport.ReportPath = "/reports/somereport"
i'm just wondering if you have refresh your reportviewer. actually when you click on the back link of your second report, all the report viewer need to be refreshed and include the datasource.
Based on my understanding, the ReportViewer.Back event occurs when a user navigates from a drillthrough report back to the parent report.
So I think you can reset your report path in this event.
For more information on this event, see:
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
I use hidden parameters for this situation.
I have an example on my web site.
click this link then click my resume link from report and then click back button from browser.