Reports Reloading on focus.

8 posts, 0 answers
  1. Tom
    Tom avatar
    38 posts
    Member since:
    Mar 2007

    Posted 26 Jul 2013 Link to this post

    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.
  2. Elian
    Admin
    Elian avatar
    435 posts

    Posted 31 Jul 2013 Link to this post

    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.

  3. Tom
    Tom avatar
    38 posts
    Member since:
    Mar 2007

    Posted 27 Aug 2014 in reply to Elian Link to this post

    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.

  4. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 29 Aug 2014 Link to this post

    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.

     
  5. Tom
    Tom avatar
    38 posts
    Member since:
    Mar 2007

    Posted 31 Aug 2014 Link to this post

    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?
  6. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 03 Sep 2014 Link to this post

    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.

     
  7. Ryan
    Ryan avatar
    4 posts
    Member since:
    Jul 2014

    Posted 22 Jan 2015 in reply to Stef Link to this post

    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 
  8. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 22 Jan 2015 Link to this post

    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.

     
Back to Top