New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the Kendo DropDownButton for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the DropDownButton class.

C#
public DropDownButtonEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Methods

Defines the handler of the Click client-side event. Fires when the DropDownButton or any if its items is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the DropDownButton or an item is focused.

C#
public DropDownButtonEventBuilder Click(string handler)
Parameters:handlerstring

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

Returns:

DropDownButtonEventBuilder

Defines the handler of the Close client-side event. Fires when the menu button is closed.

C#
public DropDownButtonEventBuilder Close(string handler)
Parameters:handlerstring

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

Returns:

DropDownButtonEventBuilder

Defines the handler of the Open client-side event. Fires when the menu button is opened.

C#
public DropDownButtonEventBuilder Open(string handler)
Parameters:handlerstring

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

Returns:

DropDownButtonEventBuilder