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

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

Definition

Constructors

Initializes a new instance of the ActionSheet class.

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

The client events.

Methods

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

C#
public ActionSheetEventBuilder Activate(string handler)
Parameters:handlerstring

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

Returns:

ActionSheetEventBuilder

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

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

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

Returns:

ActionSheetEventBuilder

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

C#
public ActionSheetEventBuilder Deactivate(string handler)
Parameters:handlerstring

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

Returns:

ActionSheetEventBuilder

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

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

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

Returns:

ActionSheetEventBuilder

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

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

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

Returns:

ActionSheetEventBuilder