AxContentPanel
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
The AxContentPanel is used to display a User Control within another User Control. To do this, add the AxContentPanel to the User Control you are creating. Specify the Managed Web Content Item property to indicate the User Control you want to display.
Properties
The AxContentPanel component has the following properties:
Behavior
Property |
Description |
---|---|
ChildrenAsTriggers |
Indicates whether postbacks coming from the child controls in the panel will cause the panel to refresh. |
EnableViewState |
Indicates whether the control automatically saves its state for use in round-trips. |
Triggers |
A collection of triggers that can cause the panel to be updated. |
UpdateMode |
Indicates whether the panel will refresh on every asynchronous postback or only as a result of a specific action, such as a call to Update. |
Visible |
Indicates whether the control is visible and rendered. |
Data
Property |
Description |
---|---|
Expressions |
The expressions that are bound to properties of the control. |
Layout
Property |
Description |
---|---|
RenderMode |
Indicates whether the panel should render as a block tag (<div>) or an inline tag (<span>). |
Microsoft Dynamics AX
Property |
Description |
---|---|
Managed Web Content Item |
Specifies the User Control to be displayed in the content panel. |
Misc
Property |
Description |
---|---|
ID |
The programmatic name of the control. |
Events
The AxContentPanel component has the events listed in the following table.
Event |
Description |
---|---|
DataBinding |
Occurs when 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. |
EnsuringConsumerContext |
Occurs before the control is rendered. This event can be used to verify that the context has been passed before the control is rendered. |
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 but prior to rendering. |
Unload |
Occurs when the server control is unloaded from memory. |