Kendo.Mvc.UI.Fluent.ContextMenuEventBuilder

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

Methods

Close(System.String)

Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure.

For additional information check the close event documentation.

Parameters

handler System.String

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

Close(System.Func<System.Object,System.Object>)

Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure.

For additional information check the close event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Open(System.String)

Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu.

For additional information check the open event documentation.

Parameters

handler System.String

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

Open(System.Func<System.Object,System.Object>)

Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu.

For additional information check the open event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Activate(System.String)

Fires when a sub menu or the ContextMenu gets opened and its animation finished.

For additional information check the activate event documentation.

Parameters

handler System.String

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

Activate(System.Func<System.Object,System.Object>)

Fires when a sub menu or the ContextMenu gets opened and its animation finished.

For additional information check the activate event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Deactivate(System.String)

Fires when a sub menu or the ContextMenu gets closed and its animation finished.

For additional information check the deactivate event documentation.

Parameters

handler System.String

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

Deactivate(System.Func<System.Object,System.Object>)

Fires when a sub menu or the ContextMenu gets closed and its animation finished.

For additional information check the deactivate event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Select(System.String)

Fires when a menu item gets selected.

For additional information check the select event documentation.

Parameters

handler System.String

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

Select(System.Func<System.Object,System.Object>)

Fires when a menu item gets selected.

For additional information check the select event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.