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

Report has finished processing?

3 Answers 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 01 Oct 2010, 08:39 AM
Hi,

How can you know when a report has finished processing? Is there an event that is fired when the report has completely renderd?

we want to be able to track how long reports are taking to run.

Thanks

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 Oct 2010, 09:33 AM
Hello David ,

For debugging purposes we are using the Visual Studio Output Window that gives information about the report's rendering and processing times using image rendering. There are no specific events for such purpose as each rendering extension has a different paging mechanism and it might take different time depending on the format in which the report is rendered to.

If your question is related to performance issues you've encountered, we would appreciate if you open a support ticket and send us a runnable sample project with some dummy data to test on our end, because it is very hard to give appropriate advise especially when it comes down to making something work faster/better. You can review general performance tips in the Performance Considerations KB article.

Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David
Top achievements
Rank 2
answered on 29 Oct 2010, 10:12 AM
Hi,

Sorry for the late reply

There is currently no performance issues. We just have a table in our database which tracks what reports the user is running and how long the report took to process. This is so we can get info from clients as to what reports they run and an avarage runtime of the report for all our clients.
0
Peter
Telerik team
answered on 02 Nov 2010, 03:46 PM
Hello David ,

If you are using the Windows Forms Report Viewer you can handle the UpdateUI event and check the current processing state as shown in the following code snippet:

private void reportViewer1_UpdateUI(object sender, EventArgs e)
{
    var ps = ((Telerik.ReportViewer.WinForms.ReportViewerBase)(sender)).ProcessingState;
    if (ps == Telerik.ReportViewer.WinForms.ProcessingState.Success)
    {
         
    }
    else if (ps == Telerik.ReportViewer.WinForms.ProcessingState.Processing)
    {
         
    }
}

Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
David
Top achievements
Rank 2
Answers by
Peter
Telerik team
David
Top achievements
Rank 2
Share this question
or