Presentation Generation Target Values
Property | Description |
---|---|
DontGenerateWhiteSpace | If True, white space is not generated to line up columns. |
PreserveStyles | Indicates if the style information specified on the host is preserved when the new page is generated. |
StartLinesWithParagraph | If True, each new line starts with a <p> tag instead of a <br> tag. |
UseMasterPages | If True, a master page is applied to all newly generated pages. |
StaticTextMarkup | Specifies the Markup Template to use when generating static text for the page. The default is StaticSpanMakup. The options are StaticLiteralMarkup and StaticLableMarkup. |
Markup Templates | The various templates used for generated controls. The templates can be modified. |
The following tables describe additional properties that can be modified for each of the eight Markup Templates.
CheckBoxMarkup
The CheckBoxMarkup template is used when ClientMessage’s InputField or DynamicRegion has the ControlStyle property specified as CheckBox.
The base template is:
<asp:CheckBox runat="server" ID="$userName$" ToolTip="$toolTip$" Visible="$visible$" />
Property | Description |
---|---|
CssClass | Class name to use if StaticClass is true. |
SkinID | Specifies which skin to apply to the control. |
StaticClass | Specifies whether to use the CssClass specified for instances of this control. When set, this property overrides the PreserveStyles setting for these controls. |
ChoiceMarkup
The ChoiceMarkup template is used when ClientMessage’s InputField or DynamicRegion has the ControlStyle property specified as DropDownList.
The base template is:
<asp:DropDownList runat=”server" ID="$userName$" ToolTip="$toolTip$" Visible="$visible$" >$choices$</asp:DropDownList>
Property | Description |
---|---|
CssClass | Class name to use if StaticClass is true. |
SkinID | Specifies which skin to apply to the control. |
StaticClass | Specifies whether to use the CssClass specified for instances of this control. When set, this property overrides the PreserveStyles setting for these controls. |
LabelMarkup
The LabelMarkup template is used when ClientMessage’s InputField or DynamicRegion has the ControlStyle property specified as Label.
The base template is:
<asp:Label runat="server" ID="$userName$" ToolTip="$toolTip$" Visible="$visible$" />
Property | Description |
---|---|
CssClass | Class name to use if StaticClass is true. |
SkinID | Specifies which skin to apply to the control. |
StaticClass | Specifies whether to use the CssClass specified for instances of this control. When set, this property overrides the PreserveStyles setting for these controls. |
RadioGroupMarkup
The RadioGroupMarkup template is used, when ClientMessage’s InputField or DynamicRegion has the ControlStyle property specified as RadioButtionList.
The base template is:
<asp:RadioButtonList runat="server" RepeatDirection="Horizontal" ID="$userName$" ToolTip="$toolTip$" Visible="$visible$" > $choices$</asp:RadioButtonList>
Property | Description |
---|---|
CellPadding | Sets the distance (in pixels) between the border and the contents of the table cell. |
CellSpacing | Set the distance (in pixels) between adjacent table cells. |
CssClass | Class name to use if StaticClass is true. |
RepeatColumns | Sets the number of columns to display in the RadionButtonList Control. |
RepeatDirection | Sets the direction in which the radio buttons within the group are displayed |
RepeatLayout | Sets the layout of radio buttons in the group. |
SkinID | Specifies which skin to apply to the control. |
StaticClass | Specifies whether to use the CssClass specified for instances of this control. When set, this property overrides the PreserveStyles setting for these controls. |
TextAlign | Sets the text alignment of the radio buttons within the group. |
StaticLableMarkup
The StaticLableMarkup template is used for static text when the StaticTextMarkup property is set to StaticLableMarkup.
The base template is:
<asp:Label runat="server" >$text$</asp:Label>
Property | Description |
---|---|
CssClass | Class name to use if StaticClass is true. |
GenerateID | Whether to automatically generate an ID for the control. |
SkinID | Specifies which skin to apply to the control. |
Class | Specifies whether to use the CssClass specified for instances of this control. When set, this property overrides the PreserveStyles setting for these controls. |
StaticLiteralMarkup
The StaticLiteralMarkup template is used for static text when the StaticTextMarkup property is set to StaticLiteralMarkup.
The base template is:
<asp:Literal runat="server" >$text$\"</asp:Literal>
Property | Description |
---|---|
GenerateID | Whether to automatically generate an ID for the control. |
Mode | Sets an enumeration value that specifies how the content in the Literal control is rendered. |
StaticSpanMarkup
The StaticSpanMarkup template is used for static text when the StaticTextMarkup property is set to StaticSpanMarkup.
The base template is:
<span >$text$</span>
Property | Description |
---|---|
CssClass | Class name to use if StaticClass is true. |
GenerateID | Whether to automatically generate an ID for the control. |
SkinID | Specifies which skin to apply to the control. |
StaticClass | Specifies whether to use the CssClass specified for instances of this control. When set, this property overrides the PreserveStyles setting for these controls. |
TextBoxMarkup
The TextBoxMarkup template is used, when ClientMessage’s InputField or DynamicRegion has the ControlStyle property specified as TextBox.
The base template is:
<asp:TextBox runat="server" TextMode="$textMode$" ID="$userName$" ToolTip="$toolTip$" MaxLength="$displayLength$" Columns="$columns$" Rows="$rows$" readOnly="$readOnly$" Visible="$visible$">$text$</asp:TextBox>
Property | Description |
---|---|
AutoCompleteType | Indicates the AutoComplete behavior for the TextBox. |
CssClass | Class name to use if StaticClass is true. |
SkinID | Specifies which skin to apply to the control. |
StaticClass | Specifies whether to use the CssClass specified for instances of this control. When set, this property overrides the PreserveStyles setting for these controls. |