Click or drag to resize

ToolbarBAddLink Method

Adds a link item to the toolbar.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public IToolbarButton AddLink(
	string id,
	string url,
	string imageUrl,
	string toolTip,
	string clickJS,
	string caption,
	string additionalImage = null,
	ToolbarItemAttrs attributes = ,
	string group = null
)

Parameters

id
Type: SystemString
The item ID.
url
Type: SystemString
The URL for the link.
imageUrl
Type: SystemString
The image URL.
toolTip
Type: SystemString
The tooltip.
clickJS
Type: SystemString
Javascript client-side clicks.
caption
Type: SystemString
The item caption.
additionalImage (Optional)
Type: SystemString
An optional larger icon.
attributes (Optional)
Type: NetQuarry.WebControlsToolbarItemAttrs
Attibutes describing the item.
group (Optional)
Type: SystemString
The group, if any.

Return Value

Type: IToolbarButton
The toolbar button for the item.

Implements

IToolbarAddLink(String, String, String, String, String, String, String, ToolbarItemAttrs, String)
See Also