Defines the fluent API for configuring the Kendo UI SplitButton for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SplitButtonEventBuilder : EventBuilder
Inheritance: objectEventBuilderSplitButtonEventBuilder
Inherited Members
Constructors
Initializes a new instance of the SplitButtonEventBuilder class.
public SplitButtonEventBuilder(IDictionary<string, object> events)
The SplitButton event handlers.
Methods
Defines the handler of the Click client-side event. Fires when the SplitButton or any if its items is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the SplitButton or an item is focused.
public SplitButtonEventBuilder Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SplitButtonEventBuilder .
Defines the handler of the Click client-side event. Fires when the SplitButton or any if its items is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the SplitButton or an item is focused.
public SplitButtonEventBuilder Click(string handler)
The name of the JavaScript function that will handle the Click event.
Returns:Returns the current instance of SplitButtonEventBuilder .
Defines the handler of the Close client-side event. Fires when the menu button is closed.
public SplitButtonEventBuilder Close(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SplitButtonEventBuilder .
Defines the handler of the Close client-side event. Fires when the menu button is closed.
public SplitButtonEventBuilder Close(string handler)
The name of the JavaScript function that will handle the Close event.
Returns:Returns the current instance of SplitButtonEventBuilder .
Defines the handler of the Open client-side event. Fires when the menu button is opened.
public SplitButtonEventBuilder Open(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of SplitButtonEventBuilder .
Defines the handler of the Open client-side event. Fires when the menu button is opened.
public SplitButtonEventBuilder Open(string handler)
The name of the JavaScript function that will handle the Open event.
Returns:Returns the current instance of SplitButtonEventBuilder .