AxPopupParentControl
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
The AxPopupParentControl component allows opening an Enterprise Portal page in a pop-up window for the web browser. Place it in the User Control from which the pop-up window is to be opened. The control is not visible. Events can be created that notify the parent when the pop-up window has closed. Values from the pop-up window can also be passed back to the parent.
The AxPopupParentControl is not found in the Toolbox. You must manually add it to the markup for the User Control. The following example shows the definition of an AxPopupParentControl that was added to the markup. It has three fields that are being passed back from the AxPopupChildControl.
<dynamics:AxPopupParentControl ID="PopupParent" runat="server" >
<dynamics:AxPopupField Name="Field1" TargetControlId="TextBox1" />
<dynamics:AxPopupField Name="Field2" TargetControlId="TextBox2" />
<dynamics:AxPopupField Name="Field3" TargetControlId="TextBox3" />
</dynamics:AxPopupParentControl>
Properties
The AxPopupParentControl component has the following properties:
Accessibility
Property |
Description |
---|---|
AccessKey |
The keyboard shortcut used by the control. 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. |
PopupHeight |
The height of the pop-up window to be opened. |
PopupWidth |
The width of the pop-up window to be opened. |
Behavior
Property |
Description |
---|---|
Enabled |
Specifies whether the control is enabled. |
EnableTheming |
Indicates whether the control can be themed. |
EnableViewState |
Specifies whether the control automatically saves its state for use in round-trips. |
Fields |
Specifies the set of fields to be returned from the pop-up window. |
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. |
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. |
Events
The AxPopupParentControl 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. |
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. |
PopupClosed |
Occurs when the pop-up window is closed. |
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. |