skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • MCP Servers
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    MCP Servers

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Interface IClientEventsBuilder

Represents a builder that provides a fluent API for configuring client-side event handlers of the MVC Report Viewer. Used to attach JavaScript functions that respond to various report viewer events during report rendering, printing, exporting, and user interaction.

Namespace: Telerik.ReportViewer.Mvc
Assembly: Telerik.ReportViewer.Mvc.dll

Syntax

public interface IClientEventsBuilder
Remarks

All event handler functions are executed in the client-side JavaScript context of the MVC Report Viewer.

Methods

Error(String)

Attaches an event handler that will be called when an error occurs.

Declaration
IClientEventsBuilder Error(string onError)
Parameters
System.String onError

The name of the JavaScript handler function (without parentheses) that handles error events.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The error event is triggered when any error occurs during report processing, rendering, or viewer operations.

ExportBegin(String)

Attaches an event handler that will be called prior to starting the report export command.

Declaration
IClientEventsBuilder ExportBegin(string onExportBegin)
Parameters
System.String onExportBegin

The name of the JavaScript handler function (without parentheses) that handles the export begin event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The export begin event is triggered before the report viewer starts generating the export document.

ExportEnd(String)

Attaches an event handler that will be called when the exported document is ready for download, but prior to the actual downloading.

Declaration
IClientEventsBuilder ExportEnd(string onExportEnd)
Parameters
System.String onExportEnd

The name of the JavaScript handler function (without parentheses) that handles the export end event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The export end event is triggered when the export document is ready but before the download starts.

InteractiveActionEnter(String)

Attaches an event handler that will be called when the mouse cursor enters the action's report item area.

Declaration
IClientEventsBuilder InteractiveActionEnter(string onInteractiveActionEnter)
Parameters
System.String onInteractiveActionEnter

The name of the JavaScript handler function (without parentheses) that handles the interactive action enter event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The interactive action enter event is triggered when the mouse hovers over interactive report elements.

InteractiveActionExecuting(String)

Attaches an event handler that will be called when an interactive action is executed.

Declaration
IClientEventsBuilder InteractiveActionExecuting(string onInteractiveActionExecuting)
Parameters
System.String onInteractiveActionExecuting

The name of the JavaScript handler function (without parentheses) that handles the interactive action executing event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The interactive action executing event is triggered when user clicks on interactive elements like drill-through links or toggle buttons.

InteractiveActionLeave(String)

Attaches an event handler that will be called when the mouse cursor leaves the action's report item area.

Declaration
IClientEventsBuilder InteractiveActionLeave(string onInteractiveActionLeave)
Parameters
System.String onInteractiveActionLeave

The name of the JavaScript handler function (without parentheses) that handles the interactive action leave event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The interactive action leave event is triggered when the mouse cursor moves away from interactive report elements.

PageReady(String)

Attaches an event handler that will be called every time a page from the report is rendered and ready for display.

Declaration
IClientEventsBuilder PageReady(string onPageReady)
Parameters
System.String onPageReady

The name of the JavaScript handler function (without parentheses) that handles the page ready event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The page ready event is triggered when each individual report page completes rendering and is ready for display.

PrintBegin(String)

Attaches an event handler that will be called prior to starting the print report command.

Declaration
IClientEventsBuilder PrintBegin(string onPrintBegin)
Parameters
System.String onPrintBegin

The name of the JavaScript handler function (without parentheses) that handles the print begin event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The print begin event is triggered before the report viewer starts generating the print document.

PrintEnd(String)

Attaches an event handler that will be called when the print document (Adobe PDF) is ready for download, but prior to being sent to the printer.

Declaration
IClientEventsBuilder PrintEnd(string onPrintEnd)
Parameters
System.String onPrintEnd

The name of the JavaScript handler function (without parentheses) that handles the print end event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The print end event is triggered when the PDF print document is ready but before actual printing occurs.

Ready(String)

Attaches an event handler that will be called when the report viewer template is loaded.

Declaration
IClientEventsBuilder Ready(string onReady)
Parameters
System.String onReady

The name of the JavaScript handler function (without parentheses) that handles the ready event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The ready event is triggered when the report viewer template and UI components are fully loaded and initialized.

RenderingBegin(String)

Attaches an event handler that will be called when the rendering of the report begins.

Declaration
IClientEventsBuilder RenderingBegin(string onRenderingBegin)
Parameters
System.String onRenderingBegin

The name of the JavaScript handler function (without parentheses) that handles the rendering begin event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The rendering begin event is triggered when the report viewer starts processing and rendering the report content.

RenderingEnd(String)

Attaches an event handler that will be called when the rendering of the report ends.

Declaration
IClientEventsBuilder RenderingEnd(string onRenderingEnd)
Parameters
System.String onRenderingEnd

The name of the JavaScript handler function (without parentheses) that handles the rendering end event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The rendering end event is triggered when the report viewer completes processing and rendering the report content.

UpdateUi(String)

Attaches an event handler that will be called every time the UI needs an update; can be used for changing the UI of the report viewer while interacting with reports.

Declaration
IClientEventsBuilder UpdateUi(string onUpdateUi)
Parameters
System.String onUpdateUi

The name of the JavaScript handler function (without parentheses) that handles the UI update event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The UI update event is triggered whenever the report viewer interface needs to refresh during user interactions.

ViewerToolTipOpening(String)

Attaches an event handler that will be called when a tooltip is being opened.

Declaration
IClientEventsBuilder ViewerToolTipOpening(string onViewerToolTipOpening)
Parameters
System.String onViewerToolTipOpening

The name of the JavaScript handler function (without parentheses) that handles the tooltip opening event.

Returns
IClientEventsBuilder

The current IClientEventsBuilder instance for method chaining.

Remarks

The tooltip opening event is triggered when tooltips are about to be displayed for report elements or viewer controls.

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.