Element Details: Popup+Panel
 Back


Available in: Logi Info Source code name: PopupPanelIntroduced in: v9.0.30

PopupPanel displays a section of a report in a popup window.

When the page is initially displayed, the PopupPanel is invisible. Show it with Action.ShowElement.

The initial location can be the center of the page, the current position of the mouse or an absolute position.

When the PopupPanel has a Caption attribute, it will have a title bar. The title bar can include a close box that closes the panel when clicked.

When the Draggable attribute is "True", the title bar can be used to drag the panel around the page.

The PopupPanel can be "modal" or not. Modal popups disable the rest of the page until the panel is closed.

PopupPanel defines certain Cascading Style Sheet (CSS) classes. These help with colors, font sizes and spacing. You can over-ride these classes by adding them to your own CSS file. The panel's built-in CSS file is rdTemplate\rdPopup\rdPopupPanel.css.



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
Caption
UserDefined
The Caption attribute identifies the text to be displayed. For Image elements, Caption specifies the image filename.
Class
UserDefined
Sets the Cascading Style Sheet class used by the element. When set, this class will also be used by all child elements that don't have their own class. The class should be defined in the report's style sheet file.
CloseButtonCaption
UserDefined
Popups normally include a "close" button in the title bar. CloseButtonCaption allows the button to contain alternative text. For example "Done". The default is "X".
CloseButtonClass
UserDefined
Popups normally include a "close" button in the title bar. CloseButtonClass applies an alternative class to the close button.
Draggable
True
False
When "True", enables the ability to drag the PopupPanel. The default value is "False".
Height
UserDefined
The height of the element. For some elements, leave the height blank to automatically size the element to the height of the content.
HeightScale
px
%
The width scale of the element. Value can be "px" for pixels, or "%" for percentage of the available height. Leave this value blank to have the frame automatically adjust to the size of its contents.
HideCloseX
True
False
When "True", the X that normally appears on the right side of a PopupPanel's title bar is not included. The default value is "False". When "True", you may need to provide another link within the panel so it can be closed. Action.ShowElement can be used for this purpose. For example: Action.RefreshElement also hides PopupPanels. In the example below, Action.RefreshElement updates an element outside the popup and also hide the popup itself.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
KeepOtherPopups
True
False
By default, when one popup is shown already shown and then second popup is shown, the first is removed. When KeepOtherPopups="True", the first popup remains and the second is layered above the first.
PopupModal
True
False
The PopupPanel can be "modal" or not. Modal popups disable the rest of the page until the panel is closed. The disabled areas behind the panel get shaded in transparent gray.
PopupPanelLocation
Mouse
Center
Sets the initial location of the PopupPanel window. Possible values: "Mouse". The popup window will appear below and to the right of the mouse pointer. This is the default value. "Center". The popup window will appear at or near the center of the page. You can set a pair of numbers representing the left and top location. These represent an absolute position in pixels. For example "100,200" would place the popup's top left corner 100 pixels to the left, 200 pixels from the top. The default value is "Mouse".
SecurityRightID
UserDefined
When entered, access to this element can be controlled with Logi security. Supply the ID of a right defined in the applications settings’ Security element. Only users that have a right in the SecurityRightID will be able to see the element. Note that when rights come from RightFromRole elements under Security/UserRights, and this element's SecurityRightID does NOT match any of the Right IDs defined in the Settings definition, then the user DOES have access. But when Right IDs are instead derived from RightsFromDataLayer or RightsFromRoles elements, and the user DOES NOT have a matching Right, then the user DOES NOT have access. You can enter multiple right IDs, separated by commas. In this case, the user sees the element if he has any one of the Rights.
ShowOnPageLoad
True
False
ShowOnPageLoad causes the PopupPanel to automatically appear when the report page is loaded. ShowOnPageLoad can be especially useful if you want to do a page refresh while a PopupPanel is displayed and want to keep the PopupPanel. The default is False.
Width
UserDefined
The width of the element.
WidthScale
px
%
The width scale of the element. Value can be "px" for pixels, or "%" for percentage of the available width.



PARENT ELEMENTS

Click element to drill down for more information.

Body
Column Cell
Crosstab Table Label Column
Crosstab Table Value Columns
Data Calendar Rows
Data Multi-Column List
Data Table Column
Data Tree Branch
Division
Fieldset Box
HTML Tag
List Item
More Info Row
More Info Row Column
Rectangle
Report Footer
Report Header
Responsive Column
Subdata Multi-Column List
Tab Panel


CHILD ELEMENTS

Click element to drill down for more information.

Analysis Filter
Bullet
Button
Chart Canvas
Chart.Gantt
Color Spectrum Legend
Conditional Class
Crosstab Table
Data Calendar
Data List
Data Multi-Column List
Data Table
Data Tree
Date Picker
Division
Fieldset Box
Gauge.Angular
Gauge.Arc
Gauge.Balloon Bar
Gauge.Bar
Gauge.Bullet Bar
Gauge.Indicator
Gauge.Number
Horizontal Rule
HTML Tag
Image
Include HTML
Include HTML File
Input Chart List
Input Chart Range
Input Checkbox
Input Checkbox List
Input Color Picker
Input Combo List
Input Date
Input Email
Input File Upload
Input Grid
Input Hidden
Input Number
Input Password
Input Radio Buttons
Input Select List
Input Slider
Input Telephone
Input Text
Input Text Area
Input Time
Label
Leaflet Map
New Line
OLAP Table
Responsive Row
Rows
Schedule
Space
Sparkline.Area
Sparkline.Bar
Sparkline.Line
Sparkline.WinLoss
SubReport
Tabs
Text Cloud
Toggle Image


 Back to top


 Chart Debug