SmartPanel
A SmartPanel control contains a set of components in a panel that slides out from the edge of the browser in response to an open event or when the IsOpen property is set to true. It slides back to the hidden state in response to a close event or when the IsOpen property is set to false. When the SmartPanel control is open, it covers a portion of the page.
You can use the same controls in a SmartPanel control as you can on a page. You add both the SmartPanel control and the components contained in the SmartPanel control to the page layout. You position components in the SmartPanel control using the SmartPanel control's placeholder keys. You can access all components in the SmartPanel control from the PageCode of the page that hosts the SmartPanel control.
A SmartPanel control always shows a Close “icon button” on the right side of its Header placeholder. You cannot access properties and members of this button, and you cannot remove it. The SmartPanel control closes when a user clicks this button.
You can choose between three predefined sizes of the SmartPanel control, and you can specify where the SmartPanel control appears from when it opens.
Properties
Name |
Description |
Default |
---|---|---|
Appearance | ||
Dimensions |
Specifies the size of the panel. Choose between three predefined sizes: Normal, Small, and Large. |
Normal |
IsOpen |
Opens or closes the SmartPanel. You normally use this from the PageCode to open and close the SmartPanel. |
False. |
OffsetBottom |
Specify the number of pixels the SmartPanel is offset from the bottom of the page. |
0 |
OffsetTop |
Specify the number of pixels the SmartPanel is offset from the top of the page. |
0 |
Position |
Specify the position where the panel appears. Choose between Top, Bottom, Left, and Right. |
Right |
Configuration
You can create a configuration item for a SmartPanel control by creating an item based on the SmartPanel Parameters template.
The configuration item has these specific fields:
-
Position
-
Dimensions
-
OffsetTop
-
OffsetBottom
-
IsOpen
It inherits these fields:
-
IsVisible
-
AccessKey
-
Tooltip
-
Behaviors
-
Id