Skip to main content
A newer version of this page is available. .

ASPxClientSpreadsheet.CustomCommandExecuted Event

Occurs after a custom command has been executed on the client side.

Declaration

CustomCommandExecuted: ASPxClientEvent<ASPxClientSpreadsheetCustomCommandExecutedEventHandler<ASPxClientSpreadsheet>>

Event Data

The CustomCommandExecuted event's data class is ASPxClientSpreadsheetCustomCommandExecutedEventArgs. The following properties provide information specific to this event:

Property Description
commandName Gets the name of the processed command.
item Obsolete. This property is now obsolete. Use the ASPxClientSpreadsheetCustomCommandExecutedEventArgs.commandName property instead.
parameter Gets an optional parameter that complements the processed command.

Remarks

Handle the CustomCommandExecuted event to perform specific client actions in response to a command initiated by a click on a custom command (such as a ribbon item or context menu item) within the Spreadsheet.

Note

The Spreadsheet’s default ribbon items are implemented by classes (RibbonItemBase decendants) whose names start with the ‘SR’ prefix. Ribbon items realized by other classes are considered to be custom within the Spreadsheet.

See Also