Share via


TOOLBAR Element | Toolbar Class

Adds a Toolbar element to an ASP.NET Web Form.

Syntax

ASP <tagPrefix:TOOLBAR ... >

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.

Members Table

The following table lists the members exposed by the Toolbar object.

Attribute Property Description
AUTOPOSTBACK AutoPostBack Sets or retrieves a value that indicates whether or not the control posts back to the server each time a user interacts with the control.
DEFAULTSTYLE DefaultStyle Sets or retrieves a value that indicates the default style for the element.
HOVERSTYLE HoverStyle Sets or retrieves a value that indicates the style of the element when the user hovers the keyboard focus or mouse pointer over it.
Items Retrieves the collection of ToolbarItem objects that are in the Toolbar.
ORIENTATION Orientation Sets or retrieves a value that indicates the alignment of the object within the document.
SELECTEDSTYLE SelectedStyle Sets or retrieves a value that indicates the style for the selected element.
Element Object Description
TOOLBARBUTTON ToolbarButton Adds a ToolbarButton element to an ASP.NET Web Form.
TOOLBARCHECKBUTTON ToolbarCheckButton Adds a ToolbarCheckButton element to an ASP.NET Web Form.
TOOLBARCHECKGROUP ToolbarCheckGroup Adds a ToolbarCheckGroup element to an ASP.NET Web Form.
TOOLBARDROPDOWNLIST ToolbarDropDownList Adds a ToolbarDropDownList element to an ASP.NET Web Form.
TOOLBARLABEL ToolbarLabel Adds a ToolbarLabel element to an ASP.NET Web Form.
TOOLBARSEPARATOR ToolbarSeparator Adds a ToolbarSeparator element to a ASP.NET Web Form.
TOOLBARTEXTBOX ToolbarTextBox Adds a ToolbarTextBox element to a ASP.NET Web Form.
Event Description
onbuttonclick Fires when a ToolbarCheckButton or ToolbarButton is clicked.
oncheckchange Fires when a ToolbarCheckButton element changes state.

Class Information

Namespace Microsoft.Web.UI.WebControls

See Also

Internet Explorer WebControls, About the Toolbar WebControl