ContextMenuEventBuilder
Methods
Close(System.String)
Fires before a sub menu or the ContextMenu 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 ContextMenu 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.
DataBound(System.String)
Fires when the ContextMenu is bound to the set DataSource.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the dataBound event.
DataBound(System.Func)
Fires when the ContextMenu is bound to the set DataSource.
For more information see DataBound 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 ContextMenu 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 ContextMenu 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 ContextMenu 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 ContextMenu 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 ContextMenu 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 ContextMenu 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.