Compartir a través de


AxPopupChildControl

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The AxPopupChildControl component is used in the pop-up window that is opened in Enterprise Portal. Place it in the User Control on the page used for the pop-up window. The control is not visible. Values from the pop-up window can be passed back to the parent that opened the pop-up window.

The AxPopupChildControl 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 AxPopupChildControl that was added to the markup. It has three fields that are being passed back to the AxPopupParentControl.

<dynamics:AxPopupChildControl id="PopupChild" runat="server" >
    <dynamics:AxPopupField Name="Field1" TargetControlId="TextBox1" />
    <dynamics:AxPopupField Name="Field2" TargetControlId="TextBox2" />
    <dynamics:AxPopupField Name="Field3" TargetControlId="TextBox3" />
</dynamics:AxPopupChildControl>

Properties

The AxPopupChildControl 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.

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 AxPopupChildControl 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.

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.

See also

Pop-up Windows