Kendo.Mvc.UI.Fluent.PDFViewerEventBuilder

Defines the fluent API for configuring the Kendo UI PDFViewer for ASP.NET MVC events.

Methods

Render(System.String)

Fires when a page is rendered

For additional information check the render event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the render event.

Render(System.Func<System.Object,System.Object>)

Fires when a page is rendered

For additional information check the render event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Open(System.String)

Fires when a PDF is opened in the viewer.

For additional information check the open event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the open event.

Open(System.Func<System.Object,System.Object>)

Fires when a PDF is opened in the viewer.

For additional information check the open event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Error(System.String)

Fires when an error is encountered. By default, a dialog is shown with error message. The dialog will not be shown if the event is prevented.

For additional information check the error event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the error event.

Error(System.Func<System.Object,System.Object>)

Fires when an error is encountered. By default, a dialog is shown with error message. The dialog will not be shown if the event is prevented.

For additional information check the error event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?