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.
RETURNS
Returns the current instance of SmartPasteButtonEventBuilder .
Example
@( Html.Kendo().SmartPasteButton()
.Name("smartPaste")
.Events(events => events
.RequestStart("onRequestStart")
)
)
RequestStart(System.Func)
Fired when the SmartPasteButton begins processing a paste operation.
For more information see RequestStart event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of SmartPasteButtonEventBuilder .
Example
@( Html.Kendo().SmartPasteButton()
.Name("smartPaste")
.Events(e => e.RequestStart(
@<text>
function(e){
event handling code
}
</text>
))
)
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.
RETURNS
Returns the current instance of SmartPasteButtonEventBuilder .
Example
@( Html.Kendo().SmartPasteButton()
.Name("smartPaste")
.Events(events => events
.RequestEnd("onRequestEnd")
)
)
RequestEnd(System.Func)
Fired when the SmartPasteButton completes processing a paste operation.
For more information see RequestEnd event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of SmartPasteButtonEventBuilder .
Example
@( Html.Kendo().SmartPasteButton()
.Name("smartPaste")
.Events(e => e.RequestEnd(
@<text>
function(e){
event handling code
}
</text>
))
)
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 .
Error(System.Func)
Fired when an error occurs during SmartPasteButton processing.
For more information see Error event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of SmartPasteButtonEventBuilder .