Chameleon Control Documentation | All Controls | All API Classes

<CSHub:SectionMembershipData />

Single value control that provides access to SectionMembership data.
The <CSHub:SectionMembershipData /> control is a API-Related Single Value Control that reports on SectionMembership data. See more API-Related Single Value controls.

Properties/Attributes

Property Type Description
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.
Encoding ContentEncoding Enumeration
Gets or sets a value indicating the type of additional encoding to apply to the content.
Option Type Description
None Enumeration Value No additional encoding is performed
HTML Enumeration Value Content is encoded for rendering as HTML
JavaScript Enumeration Value Content is encoded for rendering within a JavaScript script
URL Enumeration Value Content is encoded for inclusion in a URL
EnsureVisibleHtml Boolean
When true, ensures that the value of the specified Property or ExtendedAttribute contains visible HTML before rendering the value. When false, the value must just be set to a non-blank value.
ExtendedAttribute String
The extended attribute of this object to display.
FormatString String
The format string used to format the Property or Extended Attribute value to a string
ID String
Gets or sets the programmatic ID of the control. This ID can be used as a reference by other controls.
IgnoreLinkPermissions Boolean
Gets or sets a value indicating whether permission checks on the selected link should be bypassed (default: false).
IncludeTimeInDate Boolean
Gets or sets a value indicating whether time should be included when rendering dates.
LinkCssClass String
Gets or sets the link CSS class.
LinkQueryStringModification String
Gets or sets the link query string modification.
LinkRel String
Gets or sets the link rel attribute value.
LinkTabIndex Int16
Gets or sets the link tab index.
LinkTarget String
Gets or sets the link target.
LinkTargetLocationModification String
Gets or sets the link target location modification.
LinkTitleResourceFile String
Gets or sets the link title resource file.
LinkTitleResourceName String
Gets or sets the name of the link title resource.
LinkTitleText String
Gets or sets the link title text.
LinkTo SectionMembershipLinkTo Enumeration
If specified, the content will be linked to the specified SectionMembership-related location
Option Type Description
Edit Enumeration Value Edit this SectionMembership.
Nothing Enumeration Value Do not link to any location.
Property String
The property of this object to display.
Option Type Description
ApplicationType ApplicationType Enumeration The application type of the referenced section id
DateAdded Date/Time The date the membership record was committed to the database (this never gets committed to the database, but lets keep a public setter for serialization)
MembershipType SectionMembershipType Enumeration The type of membership defined by this user and section record
SectionID Integer The section id for the user and member type
UserID Integer The user for the section and member type
ResourceFile String
The file containing the language resource identified by ResourceName
ResourceName String
The language resource to display. If ResourceName is specified along with Property or ExtendedAttribute, the language resource identified by ResourceName will be used as a format string for the value of the Property or ExtendedAttribute.
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
Text to display. If Text is specified along with Property or ExtendedAttribute, Text will be used as a format string for the value of the Property or ExtendedAttribute.
TruncateAt Integer
If set, the content will be truncated to be the specified number of characters. Note that this property has no effect if the ContentTemplate is defined.
TruncationEllipsisResourceFile String
Gets or sets the truncation ellipsis resource file.
TruncationEllipsisResourceName String
Gets or sets the name of the truncation ellipsis resource.
TruncationEllipsisText String
Gets or sets the truncation ellipsis text (default "...").
UseAccessingUser Boolean
When true, the SectionMembership object matching the current user accessing the page and current contextual section will be used for processing instead of the current contextual SectionMembership object.
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.

Formatting Templates

<ContentTemplate>...</ContentTemplate>

Template to be rendered as the content of the control, if defined and the control 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.

<TruncationEllipsisTemplate>...</TruncationEllipsisTemplate>

Template to be rendered after the content of the control when the content is truncated.

Example

The following is a simple/minimal example of the <CSHub:SectionMembershipData /> control:

<CSHub:SectionMembershipData Property="..." runat="server" />

The following example shows all of the configurable options of the <CSHub:SectionMembershipData /> control:

<CSHub:SectionMembershipData
	ContainerId="..."
	ControlIdsToHideWhenNotVisible="..."
	CssClass="..."
	Encoding="..."
	EnsureVisibleHtml="..."
	ExtendedAttribute="..."
	FormatString="..."
	ID="..."
	IgnoreLinkPermissions="..."
	IncludeTimeInDate="..."
	LinkCssClass="..."
	LinkQueryStringModification="..."
	LinkRel="..."
	LinkTarget="..."
	LinkTargetLocationModification="..."
	LinkTitleResourceFile="..."
	LinkTitleResourceName="..."
	LinkTitleText="..."
	LinkTo="..."
	Property="..."
	ResourceFile="..."
	ResourceName="..."
	Tag="..."
	Text="..."
	TruncateAt="..."
	TruncationEllipsisResourceFile="..."
	TruncationEllipsisResourceName="..."
	TruncationEllipsisText="..."
	UseAccessingUser="..."
	Visible="..."
	runat="server">
	<ContentTemplate>
		...
	</ContentTemplate>
	<DisplayConditions>
		...
	</DisplayConditions>
	<LeaderTemplate>
		...
	</LeaderTemplate>
	<TrailerTemplate>
		...
	</TrailerTemplate>
	<TruncationEllipsisTemplate>
		...
	</TruncationEllipsisTemplate>
</CSHub:SectionMembershipData>

See Also

<CSControl:SectionMembershipData />

Single value control that provides access to SectionMembership data.

<CSControl:SectionMembershipList />

List control providing access to SectionMembership objects.

<CSControl:SectionMembershipPropertyComparison />

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

<CSControl:SectionMembershipPropertyValueComparison />

Condition control that provides support for comparing a property of a SectionMembership object to a static value.

<CSHub:AcceptRejectMembershipRequestForm />

Form control implementing support for accepting/rejecting a membership request for a public Hub.

<CSHub:AddMemberForm />

Form control implementing support for adding a user to a Hub.

<CSHub:DeleteMemberForm />

Form control implementing support for removing a member of a Hub.

<CSHub:EditMemberForm />

Form control implementing support for editing a member of a Hub.

<CSHub:SectionMembershipData />

Single value control that provides access to SectionMembership data.

<CSHub:SectionMembershipList />

List control providing access to SectionMembership objects.

<CSHub:SectionMembershipPropertyComparison />

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

<CSHub:SectionMembershipPropertyValueComparison />

Condition control that provides support for comparing a property of a SectionMembership 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