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

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

Definition

Constructors

Initializes a new instance of the Chip class.

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

The client events.

Methods

Defines the handler of the Click client-side event. Fires when the user clicks the content of the Chip or activates it with the Enter or Space keys.

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

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

Returns:

ChipEventBuilder

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Chip is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ChipEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

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

Returns:

ChipEventBuilder

Defines the handler of the Remove client-side event. Fires when the user clicks the remove icon of the Chip. After this event, the Chip will not remove itself.

C#
public ChipEventBuilder Remove(string handler)
Parameters:handlerstring

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

Returns:

ChipEventBuilder

Defines the handler of the Select client-side event. Fires when the selection of a selectable the Chip toggles.

C#
public ChipEventBuilder Select(string handler)
Parameters:handlerstring

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

Returns:

ChipEventBuilder