<CSBlog:ContactForm />
Form control that provides support for contacting the owner of the current Weblog.
Properties/Attributes
| Property |
Type |
Description |
| ContainerId |
String |
The ID of the tag wrapping this control
|
| ControlIdsToHideFromRegisteredUsers |
String |
Gets or sets the comma-separated list of control ids to hide from registered users.
|
| 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 which this form is bound.
|
| EmailTextBoxId |
String |
|
| ID |
String |
Gets or sets the programmatic ID of the control. This ID can be used as a reference by other controls.
|
| MessageTextBoxId |
String |
Gets or sets the message TextBox id.
|
| NameTextBoxId |
String |
Gets or sets the name TextBoxid.
|
| SubjectTextBoxId |
String |
Gets or sets the subject TextBox id.
|
| SubmitButtonId |
String |
Gets or sets the submit IButton id.
|
| 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 |
|
|
| ValidationGroup |
String |
Gets or sets the validation group.
|
| Visible |
Boolean |
Gets or sets whether this control should be rendered. If set to false, the control will not render.
|
Inner Properties
<DisplayConditions>...</DisplayConditions>
Defines required conditions that must be met to display this control
<SuccessActions>...</SuccessActions>
Gets or sets the success actions.
Formatting Templates
<FormTemplate>...</FormTemplate>
Template to be rendered as the content of the form, if defined and the form is rendered.
<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 <CSBlog:ContactForm /> control:
<CSBlog:ContactForm runat="server" />
The following example shows all of the configurable options of the <CSBlog:ContactForm /> control:
<CSBlog:ContactForm
ContainerId="..."
ControlIdsToHideFromRegisteredUsers="..."
ControlIdsToHideWhenNotVisible="..."
CssClass="..."
EmailTextBoxId="..."
ID="..."
MessageTextBoxId="..."
NameTextBoxId="..."
SubjectTextBoxId="..."
SubmitButtonId="..."
Tag="..."
ValidationGroup="..."
Visible="..."
runat="server">
<DisplayConditions>
...
</DisplayConditions>
<FormTemplate>
...
</FormTemplate>
<LeaderTemplate>
...
</LeaderTemplate>
<SuccessActions>
...
</SuccessActions>
<TrailerTemplate>
...
</TrailerTemplate>
</CSBlog:ContactForm>
See Also
Form control that provides support for contacting the owner of the current Weblog.
Form control that provides support for managing the accessing-users email subscriptions for the current Weblog.
Form control to create and execute a search query witin the current Weblog.
Override of the Image control which processes the Application Root escape (~/) in the ImageUrl and DescriptionUrl as the root of the current blog theme.
Override of the Script control that interprets the '~/' Src modifier as the root of the current blog theme.
Override of the Style control that resolves the '~/' Href modifier as the root of the current blog theme.
Calendar containing links on days where a post was made on the current Weblog.
Single value control that provides access to Weblog data and links.
List control providing access to Weblog objects.
Condition control that checks the accessing user's permissions on the current Weblog.
Condition control that provides support for comparing two properties of a Weblog object.
Condition control that provides support for comparing a property of a Weblog object to a static value.