SmartPasteButtonEventBuilder
Methods
RequestStart(System.String)
Defines the handler of the RequestStart client-side event. 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)
Defines the handler of the RequestEnd client-side event. 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)
Defines the handler of the Error client-side event. 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.
Example
Razor
@( Html.Kendo().SmartPasteButton()
.Name("smartPaste")
.Events(events => events
.Error("onError")
)
)