Click or drag to resize

ToolbarCreateAndAddButton Method (String, String, String, String, String, String, ToolbarItemAttrs, String)

Creates a new button item and adds it to the Toolbar.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public ActiveImageButton CreateAndAddButton(
	string id,
	string imageUrl,
	string toolTip,
	string clickJS,
	string caption,
	string largeImage,
	ToolbarItemAttrs attributes,
	string group
)

Parameters

id
Type: SystemString
The ID of the item.
imageUrl
Type: SystemString
The 'small' (typically 16x16) image to use for the button.
toolTip
Type: SystemString
The tooltip for the button.
clickJS
Type: SystemString
Javascript to be added to the button's client-side onclick event.
caption
Type: SystemString
The localized caption for the button.
largeImage
Type: SystemString
The item's 'large' image (typically 32x32).
attributes
Type: NetQuarry.WebControlsToolbarItemAttrs
Attributes describing behaviour of the button.
group
Type: SystemString
The group to which this item belongs. Currently grouping is used to control item visibility. No item in a group will be hidden unless all items in the group can be hidden.

Return Value

Type: ActiveImageButton
The newly created and added button.

Implements

IToolbarCreateAndAddButton(String, String, String, String, String, String, ToolbarItemAttrs, String)
See Also