ToolbarCreateAndAddButton Method (String, String, String, String, String, 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
)
Public Function CreateAndAddButton (
id As String,
imageUrl As String,
toolTip As String,
clickJS As String,
caption As String,
largeImage As String
) As ActiveImageButton
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).
Return Value
Type:
ActiveImageButtonThe newly created and added button.
Implements
IToolbarCreateAndAddButton(String, String, String, String, String, String)See Also