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

Reports Reloading on focus.

7 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 26 Jul 2013, 10:45 PM
I'm using Reporting 2013 Q1 in a WPF application. When I generate a report it is placed in a report viewer on a RadDockingPane which is then docked in the RadDockingControl. Every time I switch to a tab with a report the report appears to be reloading. I have to wait for it to finish "generating report" even though the report was already generated when it was initially created.  Once I have loaded the report I shouldn't have to "generate" the report just be cause I moved from one tab and then back. I am new to the Telerik reporting so any help would be appreciated.

7 Answers, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 31 Jul 2013, 12:39 PM
Hello James,

The RadDockingPane always unloads the content, so this behavior that you are reporting is natural and is not connected to the Telerik Reporting product. 
 

Regards,
Elian
Telerik

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

0
Dev
Top achievements
Rank 1
answered on 27 Aug 2014, 04:47 PM
I know this is an old post but I want to re-look at this issue. Is there anyway to prevent the docking pane from unloading or for the report to not reload everything we switch to a different docking pain? When our client has a large report it is very annoying to have it reload every time they switch and come back to the report.

0
Stef
Telerik team
answered on 29 Aug 2014, 01:31 PM
Hello James,

Unloading the ReportViewer from the visual tree will cause it to regenerate the assigned report and lose the state of the currently displayed one. If suitable, our suggestion is to use the Telerik UI for WPF - RadTabControl, which allows its tabs content to be preserved - How to Keep the Content State.


Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Dev
Top achievements
Rank 1
answered on 01 Sep 2014, 03:03 AM
Unfortunately that doesn't really work for us. Our whole UX is built using the RadDocking and every window we generate is a RadDockingPane so that windows can be dragged and docked as needed. Having a different UX for the reports would be hard for the users.

Do you have any other ideas?
0
Stef
Telerik team
answered on 03 Sep 2014, 04:29 PM
Hello,

This is the default behavior of the viewer when it is unloaded and reloaded in the visual tree.

You can test to render the report as PDF and load it in a RadPdfViewer. There is a new Telerik library for PDF processing in case you need to further edit the document. You can also test using a RadRichTextBox control and load the report rendered in other format as RTF or DOCX.


I hope the above information helps you.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Ryan
Top achievements
Rank 1
answered on 22 Jan 2015, 09:43 AM
Hi

I am experiencing the same issue as above with a RadDockingPane reloading a Report every time I change panes. Has there been any progress on adding a PreserveContent to the docking control similar to the tab control? Are there any plans to add this functionality and if so are there any time lines on this?

Please do not suggest using any other controls as the application is build around the docking pane and report viewer controls.

Regards
Ryan 
0
Stef
Telerik team
answered on 22 Jan 2015, 12:30 PM
Hi Ryan,

Please check my colleagues response in your support ticket on the same question.

For anyone concerned, below is quote from the ticket:
"RadPaneGroup inherits from RadTabControl, so you can use the inherited IsContentPreserved property in order to avoid the reloading the content of RadPaneGroup."

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Dev
Top achievements
Rank 1
Answers by
Elian
Telerik team
Dev
Top achievements
Rank 1
Stef
Telerik team
Ryan
Top achievements
Rank 1
Share this question
or