New to Telerik UI for ASP.NET Core? Download free 30-day trial

GridContextMenuEventBuilder

Methods

Close(System.String)

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

For more information see Close event.

Parameters

handler - System.String

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

Close(System.Func)

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

For more information see Close event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Open(System.String)

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

For more information see Open event.

Parameters

handler - System.String

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

Open(System.Func)

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

For more information see Open event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Activate(System.String)

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

For more information see Activate event.

Parameters

handler - System.String

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

Activate(System.Func)

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

For more information see Activate event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Deactivate(System.String)

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

For more information see Deactivate event.

Parameters

handler - System.String

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

Deactivate(System.Func)

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

For more information see Deactivate event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Select(System.String)

Fires when a menu item gets selected.

For more information see Select event.

Parameters

handler - System.String

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

Select(System.Func)

Fires when a menu item gets selected.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?