Defines the fluent API for configuring the Kendo UI SmartPasteButton for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SmartPasteButtonEventBuilder : EventBuilder
Inheritance: objectEventBuilderSmartPasteButtonEventBuilder
Inherited Members
Constructors
Initializes a new instance of the SmartPasteButtonEventBuilder class.
public SmartPasteButtonEventBuilder(IDictionary<string, object> events)
The SmartPasteButton event handlers.
Methods
Defines the handler of the Click client-side event. Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.
public SmartPasteButtonEventBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the Click client-side event. Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.
public SmartPasteButtonEventBuilder Click(string handler)
The name of the JavaScript function that will handle the Click event.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the Error client-side event. Fired when an error occurs during SmartPasteButton processing.
public SmartPasteButtonEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the Error client-side event. Fired when an error occurs during SmartPasteButton processing.
public SmartPasteButtonEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Button is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SmartPasteButtonEventBuilder KendoKeydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Button is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SmartPasteButtonEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the RequestEnd client-side event. Fired when the SmartPasteButton completes processing a paste operation.
public SmartPasteButtonEventBuilder RequestEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the RequestEnd client-side event. Fired when the SmartPasteButton completes processing a paste operation.
public SmartPasteButtonEventBuilder RequestEnd(string handler)
The name of the JavaScript function that will handle the RequestEnd event.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the RequestStart client-side event. Fired when the SmartPasteButton begins processing a paste operation.
public SmartPasteButtonEventBuilder RequestStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .
Defines the handler of the RequestStart client-side event. Fired when the SmartPasteButton begins processing a paste operation.
public SmartPasteButtonEventBuilder RequestStart(string handler)
The name of the JavaScript function that will handle the RequestStart event.
Returns:Returns the current instance of SmartPasteButtonEventBuilder .