This is a migrated thread and some comments may be shown as answers.

How to prevent auto refresh report after clicking previous button

4 Answers 137 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cihad
Top achievements
Rank 1
Cihad asked on 15 Apr 2013, 01:32 PM
Hi, 
I am getting report with details link. When I click for details and then pressing back to previous button causes generate same report again. For big reports it takes too much time and every time I clicked for details and go back to report causes waiting every time. I want prevent generating same report again and again. Is there any property for this? 

I am using Telerik.Reporting.dll (version 5.1.11.928) and Telerik.ReportViewer.WinForms.dll (version 5.1.11.928) in Q2 Reporting 2011.

I have searched your forum and I found similar thing with my problem but its different because my project is a desktop application. Here

There are 2 files which describes my problem. Please check step1 and step2.

Best Regards,
Cihad

4 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 18 Apr 2013, 11:35 AM
Hi Cihad,

Thank you for the provided input. In general you should know that the report is not refreshed when you navigate back and you can verify this in the Output window while debugging. For example a report that is normally generated for 10 seconds when you press back it will be rendered for only 4(or less). The report is being re-rendered, but is not processed again, i.e. it reuses the processed data. Please have in mind that if you navigate through multiple reports and all the data is saved in memory you will quickly get an OutOfMemory exception (especially if your reports are large as in your case). Therefore only the processed report is cached and when navigating or exporting it is only re-rendered.

With that said we have tested your scenario locally with the version specified but we were not able to detect anything unusual or a performance hit while navigating between the reports.

Regards,
IvanY
the Telerik team

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Cihad
Top achievements
Rank 1
answered on 18 Apr 2013, 11:47 AM
Firstly, thanks for your answer. 
Our clients are getting montly reports. Reports may about 750 or more pages. When he/she clicks on the 373rd record's detail and navigates back to the report, he is waiting for "re-rendering" 750 pages and it jumps to first page. Actually, it is not practical. I am trying to find any solution for this. They don't want to wait. They want to go back to their last position when they navigate back. Is there any property for this?

Thanks,
Cihad
0
IvanY
Telerik team
answered on 23 Apr 2013, 10:23 AM
Hello Cihad,

As stated in the previous post there is no way to cache the whole rendered report and there is no property or code snippet that will give you this functionality. What you can do is to make your report smaller. For example you can use report parameters to filter the data and display only the chunk that the user is interested in. Or you can create separate reports if that is more logical for your scenario.

Regards,
IvanY
the Telerik team

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Brian
Top achievements
Rank 1
answered on 12 Jun 2013, 03:04 PM
I know this is old but I am in the same boat. The only viable solution I could find was to just display the data in a hierarchy of radgrids with on demand enabled for the child grids and only use the report for printing or exporting. It was that or run all the detail reports along with the main report and use a report book. However, the load time made it unusable. 
Tags
General Discussions
Asked by
Cihad
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Cihad
Top achievements
Rank 1
Brian
Top achievements
Rank 1
Share this question
or