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

HTM5 Report Viewer Loading Notification

5 Answers 178 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Veteran
Marcin asked on 10 Dec 2013, 01:30 PM
I have small issue with HTM5 Report Viewer.
1. On first start of application there is significant delay between showing report interface and starting loading report (when message "Loading report..." is showing). For a long time there is just empty space with no message, so user can be confused if anything is working or loading. I tried use ready parameter, but it is occurring too fast so I can not use it for custom loading icon.

Is there any way to display some loading icon or text during initialization, before "loading report.." is shown?

Regards
Marcin

5 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 13 Dec 2013, 01:50 PM
Hi Marcin,

The report viewer content is rendered within a div. If the response with the rendered HTML trickles, you can set a default message in a div e.g. "loading" which contains the div in which the viewer content is placed. Once the Report Viewer is loaded and starts waiting for its report to be processed, there is a loading message.

If I have misunderstood your question, let us know more details about the requested functionality.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Marcin
Top achievements
Rank 1
Veteran
answered on 13 Dec 2013, 01:55 PM
Hello
I have loading... in div.

But when application starts, the first requests it is quite long after report is shown: After ready event happened and  before "Loading report" message is showing. This is because of quite long first request to the server when application is starting. It would be good to have possibility at least to set message that will be shown from the beginning of report until report loading message.

This is only visible on first run of MVC application.

Kind Regards
Marcin
0
Stef
Telerik team
answered on 13 Dec 2013, 03:59 PM
Hello Marcin,

The initial "Loading" message is rendered with the HTML of the page and should be visible at the moment the page, on which the viewer will appear, is rendered. If not check if there are scripts slowing down the full page rendering and move them at the end of the markup or try to load scripts asynchronously.

If you need further help, please open a support ticket and attach a sample project illustrating your problem.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Marcin
Top achievements
Rank 1
Veteran
answered on 13 Dec 2013, 04:14 PM
Hello
The initial "Loading.." is there.

It is disappearing very quick when report interface is shown. Then I have delay.
Report Viewer Interface is Loaded. ReportViewer ready event (from configuration) was already fired, but there is still no "Loading resport.." message. It appears after significant amount of time.

Best Regards
Marcin
0
Stef
Telerik team
answered on 18 Dec 2013, 04:53 PM
Hi Marcin,

If you have report parameters with AvailableValues pulling data from database, the delay most probably is due to the loading of the parameters area. We are working on improving the new HTML5 Report Viewer and will take this into consideration for future releases.

If the yellow box with the "Loading" message appears to late, you can modify the Report Viewer template and add your custom message in the pages area until the report is loaded.

I hope this helps you.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Marcin
Top achievements
Rank 1
Veteran
Answers by
Stef
Telerik team
Marcin
Top achievements
Rank 1
Veteran
Share this question
or