New to Telerik Reporting? Download free 30-day trial
Client Events
This article explains how to attach client event handlers to an WebForms wrapper of the HTML5 Report Viewer instance.
To attach a client event handler you have to set the appropriate ClientEvents tag as shown below:
<telerik:ReportViewer ID="reportViewer1" runat="server"> <ClientEvents RenderingBegin="onRenderingBegin" />
<script> function onRenderingBegin() { console.log("rendering begin!"); } </script>
The following table lists the available client events:
Event | Description |
---|---|
RenderingBegin | Rendering begin. |
RenderingEnd | Rendering end. |
PrintBegin | Print begin. |
PrintEnd | Print end. |
ExportBegin | Export begin. |
ExportEnd | Export end. |
UpdateUi | Update UI. |
Error | Error occurred. |
PageReady | Page is ready. |
Ready | Report viewer is ready. |
InteractiveActionExecuting | An interactive action is being executed and can be canceled. |
InteractiveActionEnter | The mouse cursor has entered the area of an interactive action. |
InteractiveActionLeave | The mouse cursor has left the area of an interactive action. |
ViewerToolTipOpening | A tooltip opening has commenced and can be canceled. |