MapperCommand Properties |
The MapperCommand type exposes the following members.
Name | Description | |
---|---|---|
Action |
Gets or sets the command's action.
| |
Attributes |
Command presentation attributes.
| |
Caption |
Gets or sets the command's caption. The caption is the text displayed to the user on the More menu and
shown under the image if the command is located on the toolbar and toolbar captions are displayed.
| |
Command |
The command name used programmatically to invoke specific behaviour. By default, and in most cases, Command
is the same as ID. However, Command can be set programmatically to be different from ID
In the case where a MapperCommands collection needs to contain multiple MapperCommand objects with
the same command, for example where the same command is required with two different MapperCommandLocation values.
| |
ConfirmMessage |
Specifies the confirmation message to display before posting the command back to the extension
| |
CssClass |
Gest/sets the CSS class to be applied to the command toolbar button.
| |
ExtraHtml |
Gets/sets additional HTML to be appended to the command item. This HTML will not be escaped and should be set with care.
| |
ID |
Gets or sets the command's ID.
| |
Image32URL |
Gets or sets the command's 32x32 image path.
| |
ImageURL |
Gets or sets the commands 16x16 image path.
| |
Location |
Gets or sets the command's location. (Toolbar or MoreMenu)
| |
NavTarget |
Gets or Sets the NavTarget this command is based on.
| |
ParentCommand |
Gets/sets the ID (name) of the parent command for this item. A parent command
constitutes a submenu item and all items having the same parent will be grouped
under that parent. If no other command is found having the specified ID, then a
parent command will be added automatically.
| |
RowKeys |
The set of RowKeys for which this command applies.
Applies only to RowMenu commands.
When the MapperCommand event is fired, the selected key
will be provided in RowKey.
| |
Script |
Gets or sets the command's javascript.
| |
SourceName |
Gets/set the name of the source for this command.
| |
StatusText |
Gets/sets the text used for the client-side progress indicator. If no text is set
then no progress indicator will be presented.
| |
Tooltip |
Gets or sets the commands tooltip.
| |
ToolTip |
Gets or sets the command's tooltip.
| |
URL |
Gets or sets the command's URL. You may set the URL if your command is a simple navigation command to another page or URL.
| |
WindowOptions |
Gets or sets the command's window options. Window options are passed to window.open for commands that are
javascript based. This parameter is a list of items separated by commas and corresponds to the "Features" parameter
in the DHTML window.open() method.
Each item consists of an option and a value, separated by an equals sign (for example,
"fullscreen=yes, toolbar=yes"). The following features are supported.
|