Wednesday, March 28, 2012

reportviewer control

How do i Refresh a reportviewer control to have it reflect the changed RDL file in SQL Reporting services?

Do you need to refresh the view inside VS or external after the report was created?

After changing a remote report RDL inside VS2005 I have the updated (changed) RDL rendered in the preview tab by default without any problems.

If I fill out the parameter values in the preview pane and click "View Report" the first time the report is also shown with the correct RDL layout. If I change one or more parameter values in the preview pane after the first view the report is NOT refreshed angain. In this case I need to switch back to the "Layout" pane, touch the RDL by moving an item in the layout and switch back to the "Preview" tab. After entering the parameters again the report is generated with my new values again...

Dirk

|||

Hi,

In my app i have a reportviewer ctrl whch takes the path of a dynamically generated RDL file on each click of View Report button in my aspx page.As you have pointed out it shows the data correctly the first time, but on subsequent clicks of view report button the old report is shown, unless otherwise i manually refresh the reportviewer ctrl

|||It sounds like the report is cached (maybe by your web browser)? Try to clear the chache manually after the first output and then render it again...|||

Hi,

I tried that..but did'nt work out.In my app i have 3 dropdowns and acc'g to the selection s made in the DD's a RDL file is generated.That particular file binds to the reportviewer ctrl for the 1st time on click of a View report(ASP button).But if i click view report for the second time the control displays "Report being generated " , but shows the previous RDL file.However on manually refreshing the ctrl the correct data is displayed

sql

No comments:

Post a Comment