Click or drag to resize

ToolbarAddMenu Method

Adds a submenu 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 AddMenu(
	string id,
	WebControl button,
	Object menu,
	string caption,
	ToolbarItemAttrs attributes,
	string additionalImage = null
)

Parameters

id
Type: SystemString
The submenu ID.
button
Type: System.Web.UI.WebControlsWebControl
The submenu button.
menu
Type: SystemObject
The associated menu.
caption
Type: SystemString
The submenu caption.
attributes
Type: NetQuarry.WebControlsToolbarItemAttrs
Attibutes describing the submenu.
additionalImage (Optional)
Type: SystemString
An optional larger icon.

Return Value

Type: IToolbarButton
The toolbar button for the submenu.

Implements

IToolbarAddMenu(String, WebControl, Object, String, ToolbarItemAttrs, String)
See Also