A pop-up Window contains a View (Detail or List View) and Actions, like any other Window. The Actions are displayed by the Action Containers of the Window's Template. If you need to add an Action to a pop-up Window, you should add it to the Action Container of the appropriate Template. This topic details what built-in Templates are used to display pop-up Windows, and how to add Actions to their Action Containers. To learn how to display a window (a pop-up or not) from an Action, refer to the Ways to Show a View topic.
The following built-in Templates are used to display pop-up Windows:
Used in Windows Forms applications for pop-up Windows with List Views. Contains a nested FrameTemplate which actually displays a View and Actions.
The "ObjectsCreation" and "PopupActions" Action Containers of the ButtonsContainer type.
Used in Windows Forms applications for pop-up Windows with Detail Views.
The "PopupActions" Action Container of the ButtonsContainer type.
If you assign this Template to a Window with a List View, it will contain a context menu with the following Action Containers: "ObjectsCreation", "RecordEdit", "View", "Print", and "Export".
Used in ASP.NET Web applications for pop-up Windows with any View.
The "ObjectsCreation", "Search", "FullTextSearch", "PopupActions" and "Diagnostic" Action Containers of the HorizontalActionContainer type.
The ButtonsContainer Action Container displays all Action types as a button. However, the button's Click event is handled in different ways for different Action types:
An exception is raised because the Action Container does not support this Action type.
Action Containers get Actions for display from the Application Model's Application | ActionDesign | ActionToContainerMapping | ActionContainer node. For instance, a "PopupActions" ActionContainer gets Actions from the ... | ActionToContainerMapping | PopupActions node. So, add the required Action to the appropriate Action Container to display it in a pop-up Window. To do this, use one of the following techniques:
Specify the Action's ActionBase.Category property. This property is considered when information on the Action is loaded to the Application Model's ActionDesign node.