The AxToolbar component provides access to the actions and reports that can be performed for the items in a page. The AxToolbar component has the same function as the Dynamics Toolbar Web part. Consider using an AxToolbar component in a User Control when you do not want to rely on having a Dynamics Toolbar Web part on the page where the User Control will be used.
The AxToolbar component has the following properties:
Accessibility
|
Property
|
Description
|
|
AccessKey
|
Not used for Enterprise Portal.
|
|
TabIndex
|
The tab order of the control.
|
Appearance
|
Property
|
Description
|
|
BackColor
|
This property is inherited from the base control. It is not specific to Enterprise Portal.
|
|
BorderColor
|
This property is inherited from the base control. It is not specific to Enterprise Portal.
|
|
BorderStyle
|
This property is inherited from the base control. It is not specific to Enterprise Portal.
|
|
BorderWidth
|
This property is inherited from the base control. It is not specific to Enterprise Portal.
|
|
CssClass
|
This property is inherited from the base control. It is not specific to Enterprise Portal.
|
|
Font
|
This property is inherited from the base control. It is not specific to Enterprise Portal.
|
|
ForeColor
|
This property is inherited from the base control. It is not specific to Enterprise Portal.
|
Behavior
|
Property
|
Description
|
|
Enabled
|
Specifies whether the grid is enabled.
|
|
EnableTheming
|
Indicates whether the control can be themed.
|
|
EnableViewState
|
Specifies whether the control automatically saves its state for use in round-trips.
|
|
SkinID
|
The SkinId of the control skin that provides the skin of the control
|
|
ToolTip
|
Not used for Enterprise Portal.
|
|
Visible
|
Indicates whether the control is visible and rendered.
|
Data
|
Property
|
Description
|
|
Expressions
|
The expressions that are bound to properties of the control.
|
|
DataMember
|
The table or view from the data set that is being used for the toolbar.
|
|
DataSourceID
|
Specifies the AxDataSource component that will be used by the toolbar to access data.
|
Dynamics AX
|
Property
|
Description
|
|
Dynamics AX Web Menu
|
Specifies the Web Menu item in the AOT that defines the items displayed in the toolbar.
|
|
Menu Item Help
|
Specifies whether the help text is displayed for each menu item.
|
Layout
|
Property
|
Description
|
|
Height
|
The height of the control.
|
|
Width
|
The width of the control.
|
Misc
|
Property
|
Description
|
|
ID
|
The programmatic name of the control
|
|
CausesValidation
|
Specifies whether the controls in the validation group specified by the ValidationGroup property will be validated when a toolbar item is clicked.
|
|
ValidationGroup
|
The name of the validation group for which the validation controls will be validated when a toolbar item is clicked. Each validation control has a ValidationGroup property that specifies which validation group it is part of.
|
The AxToolbar component has the events listed in the following table.
|
Event
|
Description
|
|
ActionMenuItemClicked
|
Occurs after an item in the toolbar menu has been clicked and the action has been performed.
|
|
ActionMenuItemClicking
|
Occurs after an item in the toolbar menu has been clicked, but before the action has been performed.
|
|
DataBinding
|
Occurs when the server control binds to a data source.
|
|
DataBound
|
Occurs after the server control binds to a data source.
|
|
Disposed
|
Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
|
|
Init
|
Occurs when the server control is initialized, which is the first step in its lifecycle.
|
|
Load
|
Occurs when the server control is loaded into the System.Web.UI.Page object.
|
|
PreRender
|
Occurs after the System.Web.UI.Control object is loaded by prior to rendering.
|
|
SetMenuItemProperties
|
Occurs before the menu items in the toolbar are displayed, allowing the properties to be set.
|
|
Unload
|
Occurs when the server control is unloaded from memory.
|