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

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

Definition

Constructors

Initializes a new instance of the ExpansionPanel class.

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

The client events.

Methods

Defines the handler of the Collapse client-side event. Fired when the widget is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ExpansionPanelEventBuilder Collapse(string handler)
Parameters:handlerstring

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

Returns:

ExpansionPanelEventBuilder

Defines the handler of the Complete client-side event. Fired when the animation during collapse/expand is completed.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ExpansionPanelEventBuilder Complete(string handler)
Parameters:handlerstring

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

Returns:

ExpansionPanelEventBuilder

Defines the handler of the Expand client-side event. Fired when the widget is expanded.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ExpansionPanelEventBuilder Expand(string handler)
Parameters:handlerstring

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

Returns:

ExpansionPanelEventBuilder

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

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

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

Returns:

ExpansionPanelEventBuilder