<CSForum:ChangeViewPopupMenu />
Pop-up menu providing the selection of the thread view for the current thread.
Properties/Attributes
| Property |
Type |
Description |
| ButtonActiveCssClass |
String |
Gets or sets the button active CSS class.
|
| ButtonInactiveCssClass |
String |
Gets or sets the button inactive CSS class.
|
| ContainerId |
String |
The ID of the tag wrapping this control
|
| ControlIdsToHideWhenNotVisible |
String |
Gets or sets the control ids to hide when not visible.
|
| CssClass |
String |
CSS class of the tag wrapping this control
|
| DataSource |
Object |
Gets or sets the data source of the object to render.
|
| ExpandableImageHeight |
Integer |
Gets or sets the height of the expandable image.
|
| ExpandableImageUrl |
String |
Gets or sets the expandable image URL.
|
| ExpandableImageWidth |
Integer |
Gets or sets the width of the expandable image.
|
| ID |
String |
Gets or sets the programmatic ID of the control. This ID can be used as a reference by other controls.
|
| MenuDirection |
MenuDirection Enumeration |
Gets or sets the menu opening direction.
| Option |
Type |
Description |
| LeftRight |
Enumeration Value |
|
| UpDown |
Enumeration Value |
|
| Left |
Enumeration Value |
|
| Right |
Enumeration Value |
|
| Up |
Enumeration Value |
|
| Down |
Enumeration Value |
|
| LeftUp |
Enumeration Value |
|
| LeftDown |
Enumeration Value |
|
| RightUp |
Enumeration Value |
|
| RightDown |
Enumeration Value |
|
| UpLeft |
Enumeration Value |
|
| UpRight |
Enumeration Value |
|
| DownLeft |
Enumeration Value |
|
| DownRight |
Enumeration Value |
|
| UpDownLeft |
Enumeration Value |
|
| UpDownRight |
Enumeration Value |
|
| LeftRightUp |
Enumeration Value |
|
| LeftRightDown |
Enumeration Value |
|
|
| MenuGroupCssClass |
String |
Gets or sets the menu group CSS class.
|
| MenuItemCssClass |
String |
Gets or sets the menu item CSS class.
|
| MenuItemExpandedCssClass |
String |
Gets or sets the menu item expanded CSS class.
|
| MenuItemIconHeight |
Integer |
Gets or sets the height of the menu item icon.
|
| MenuItemIconWidth |
Integer |
Gets or sets the width of the menu item icon.
|
| MenuItemSelectedCssClass |
String |
Gets or sets the menu item selected CSS class.
|
| ResourceFile |
String |
Gets or sets the resource file of the resource name displayed on the button.
|
| ResourceName |
String |
Gets or sets the name of the text resource displayed on the button.
|
| Tag |
WrappedControlTag Enumeration |
The WrappedControlTag of the tag wrapping this control
| Option |
Type |
Description |
| Acronym |
Enumeration Value |
|
| B |
Enumeration Value |
|
| Blockquote |
Enumeration Value |
|
| Caption |
Enumeration Value |
|
| Center |
Enumeration Value |
|
| Dd |
Enumeration Value |
|
| Div |
Enumeration Value |
|
| Dl |
Enumeration Value |
|
| Dt |
Enumeration Value |
|
| Em |
Enumeration Value |
|
| H1 |
Enumeration Value |
|
| H2 |
Enumeration Value |
|
| H3 |
Enumeration Value |
|
| H4 |
Enumeration Value |
|
| H5 |
Enumeration Value |
|
| H6 |
Enumeration Value |
|
| I |
Enumeration Value |
|
| Li |
Enumeration Value |
|
| Ol |
Enumeration Value |
|
| Ul |
Enumeration Value |
|
| P |
Enumeration Value |
|
| Small |
Enumeration Value |
|
| Span |
Enumeration Value |
|
| Strike |
Enumeration Value |
|
| Strong |
Enumeration Value |
|
| Sub |
Enumeration Value |
|
| Sup |
Enumeration Value |
|
| U |
Enumeration Value |
|
| Td |
Enumeration Value |
|
| Th |
Enumeration Value |
|
| Label |
Enumeration Value |
|
| Fieldset |
Enumeration Value |
|
| Legend |
Enumeration Value |
|
| Unknown |
Enumeration Value |
|
|
| Text |
String |
Gets or sets the text displayed on the button.
|
| Visible |
Boolean |
Gets or sets whether this control should be rendered. If set to false, the control will not render.
|
| ZIndex |
Integer |
Gets or sets the Z-index of the rendered menu.
|
Inner Properties
<DisplayConditions>...</DisplayConditions>
Defines required conditions that must be met to display this control
Formatting Templates
<ButtonTemplate>...</ButtonTemplate>
Defines the ITemplate to be rendered within the button that, when clicked, opens the pop-up menu
<LeaderTemplate>...</LeaderTemplate>
Template to be rendered before the content of the control, if the control is rendered.
<TrailerTemplate>...</TrailerTemplate>
Template to be rendered after the content of the control, if the control is rendered.
Example
The following is a simple/minimal example of the <CSForum:ChangeViewPopupMenu /> control:
<CSForum:ChangeViewPopupMenu runat="server" />
The following example shows all of the configurable options of the <CSForum:ChangeViewPopupMenu /> control:
<CSForum:ChangeViewPopupMenu
ButtonActiveCssClass="..."
ButtonInactiveCssClass="..."
ContainerId="..."
ControlIdsToHideWhenNotVisible="..."
CssClass="..."
ExpandableImageHeight="..."
ExpandableImageUrl="..."
ExpandableImageWidth="..."
ID="..."
MenuDirection="..."
MenuGroupCssClass="..."
MenuItemCssClass="..."
MenuItemExpandedCssClass="..."
MenuItemIconHeight="..."
MenuItemIconWidth="..."
MenuItemSelectedCssClass="..."
ResourceFile="..."
ResourceName="..."
Tag="..."
Text="..."
Visible="..."
ZIndex="..."
runat="server">
<ButtonTemplate>
...
</ButtonTemplate>
<DisplayConditions>
...
</DisplayConditions>
<LeaderTemplate>
...
</LeaderTemplate>
<TrailerTemplate>
...
</TrailerTemplate>
</CSForum:ChangeViewPopupMenu>
See Also
Pop-up menu providing the selection of the thread view for the current thread.
Form control that provides support for moving one ore more selected Threads.
CheckBox control related to the current Thread. This control is used by other Forms that require the selection of Threads.
Single value control that provides access to Thread data and links.
Renders the emoticon for the current Thread.
List control providing access to Thread objects.
Form control taht provides support for filtering the results of a ThreadList control.
Single value control providing links to view posts on mulitple pages for the current Thread.
Condition control that provides support for comparing two properties of a Thread object.
Condition control that provides support for comparing a property of a Thread object to a static value.
Displays the current Thread rating and allows the client to select a new rating that is saved via AJAX.
Form control that provides support for modifying the answered thread status of the current Thread.
Single-value control that displays the status icon for the current Thread.
Implementation of the ToggleButton control that toggles the accessing user's subscription to the current Thread.