SmartPasteButtonEventBuilder

Methods

RequestStart(System.String)

Fired when the SmartPasteButton begins processing a paste operation.

For more information see RequestStart event.

Parameters

handler - System.String

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

RequestEnd(System.String)

Fired when the SmartPasteButton completes processing a paste operation.

For more information see RequestEnd event.

Parameters

handler - System.String

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

Error(System.String)

Fired when an error occurs during SmartPasteButton processing.

For more information see Error event.

Parameters

handler - System.String

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

RETURNS

Returns the current instance of SmartPasteButtonEventBuilder .

Example

Razor
 
             @( Html.Kendo().SmartPasteButton()
                        .Name("smartPaste")
                        .Events(events => events
                            .Error("onError")
                        )
            )