Defines the fluent API for configuring the Kendo PDFViewer for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PDFViewerEventBuilder : EventBuilder
Inheritance: objectEventBuilderPDFViewerEventBuilder
Inherited Members
Constructors
Initializes a new instance of the PDFViewer class.
public PDFViewerEventBuilder(IDictionary<string, object> events)
The client events.
Methods
Defines the handler of the Error client-side event. 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.
public PDFViewerEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the PDFViewer is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public PDFViewerEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the Open client-side event. Fires when a PDF is opened in the viewer.
public PDFViewerEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Defines the handler of the Render client-side event. Fires when a page is rendered
public PDFViewerEventBuilder Render(string handler)
The name of the JavaScript function that will handle the Render event.
Returns: