ASPxClientFileManager.GetToolbarItemByCommandName(commandName) Method

Returns a toolbar item specified by its command name.


    commandName: string
): ASPxClientFileManagerToolbarItem


Name Type Description
commandName string

A string value specifying the command name of the item.


Type Description

An ASPxClientFileManagerToolbarItem object that is the item with the specified command name.


Use the GetToolbarItemByCommandName method to get a toolbar item object specified by its command name. An item's command name is defined by the CommandName property.

This method searches for the specified item amongst all items contained in the FileManagerSettingsToolbar.Items collection. Note that if an invalid name is passed via the parameter, this method returns null.


The GetToolbarItemByCommandName method can be used to get custom toolbar items only.

A public API for getting access to standard items in the context menu or on the toolbar is not provided. The standard items are created by ASPxFileManager, and if you change them, you can change the logic of the ASPxFileManager functionality.

See Also