Chameleon Control Documentation | All Controls | All API Classes

<CSBlog:ContactForm />

Form control that provides support for contacting the owner of the current Weblog.
The <CSBlog:ContactForm /> control is a Form Control that reports on Weblog data. See more Form controls.

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
Gets or sets the email TextBox id.
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
Any Condition control can be placed within this inner property. See a list of Condition controls.

<SuccessActions>...</SuccessActions>

Gets or sets the success actions.
Any Action control can be placed within this inner property. See a list of Action controls.

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

<CSBlog:ContactForm />

Form control that provides support for contacting the owner of the current Weblog.

<CSBlog:EmailSubscriptionsForm />

Form control that provides support for managing the accessing-users email subscriptions for the current Weblog.

<CSBlog:SearchForm />

Form control to create and execute a search query witin the current Weblog.

<CSBlog:ThemeImage />

Override of the Image control which processes the Application Root escape (~/) in the ImageUrl and DescriptionUrl as the root of the current blog theme.

<CSBlog:ThemeScript />

Override of the Script control that interprets the '~/' Src modifier as the root of the current blog theme.

<CSBlog:ThemeStyle />

Override of the Style control that resolves the '~/' Href modifier as the root of the current blog theme.

<CSBlog:WeblogCalendar />

Calendar containing links on days where a post was made on the current Weblog.

<CSBlog:WeblogData />

Single value control that provides access to Weblog data and links.

<CSBlog:WeblogList />

List control providing access to Weblog objects.

<CSBlog:WeblogPermissionCondition />

Condition control that checks the accessing user's permissions on the current Weblog.

<CSBlog:WeblogPropertyComparison />

Condition control that provides support for comparing two properties of a Weblog object.

<CSBlog:WeblogPropertyValueComparison />

Condition control that provides support for comparing a property of a Weblog object to a static value.
Valid XHTML 1.0 Transitional Powered by Community Server (Commercial Edition), by Telligent Systems blogmailr enabled
© 2006-2008 Ben Tiedt
Sign in