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

HTML5 telerik_ReportViewer wire into events like reportDoneRendering?

3 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
NerdBrick
Top achievements
Rank 1
NerdBrick asked on 06 May 2014, 12:30 AM
Our HTML5 implementation is working very nicely, but we have requests to perform different visual effects on the web page once the report is done rendering. 

Would it be possible to have a way to hook into the onReportLoadComplete event when we instantiate the reporting object (telerik_ReportViewer)?

$("#reportViewer1").telerik_ReportViewer({
      serviceUrl: "../api/reports/",
      templateUrl: 'src/templates/telerikReportViewerTemplate.htmll',
      reportSource: { report: "product catalog.trdx" },
      onReportLoadComplete : function(e){
              // our code run here
       }
});


Thank you

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 08 May 2014, 07:47 PM
Hi,

Currently there is no such event exposed. The viewer is entirely HTML/JS.CSS based and its content is rendered as HTML. You can ping on certain interval if an element from the report with specific attributes is rendered to get a notification when the report is fully  rendered within the page.

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
D
Top achievements
Rank 1
answered on 14 May 2014, 11:55 AM
We need exactly the same thing. Could you add this as a feature request please?

In an event driven environment, like JavaScript, the report viewer should expose most if not all events that are already used internaly that could be handy for frontend developers. ;)
0
Stef
Telerik team
answered on 16 May 2014, 05:47 PM
Hi D,

Thank you for your feedback.

We consider exposing certain events for all existing viewers. For the time being there is a final resolution for the feature, you have to consider the used technology and viewer to achieve the desired functionality.

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
NerdBrick
Top achievements
Rank 1
Answers by
Stef
Telerik team
D
Top achievements
Rank 1
Share this question
or