Adds a link item to the toolbar.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax IToolbarButton AddLink(
string id,
string url,
string imageUrl,
string toolTip,
string clickJS,
string caption,
string additionalImage = null,
ToolbarItemAttrs attributes = ,
string group = null
)
Function AddLink (
id As String,
url As String,
imageUrl As String,
toolTip As String,
clickJS As String,
caption As String,
Optional additionalImage As String = Nothing,
Optional attributes As ToolbarItemAttrs = ,
Optional group As String = Nothing
) As IToolbarButton
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:
IToolbarButtonThe toolbar button for the item.
See Also