Chameleon Control Documentation | All Controls | All API Classes

<CSHub:HubData />

Single value control that provides access to Hub data and links.
The <CSHub:HubData /> control is a API-Related Single Value Control that reports on Hub 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 HubLinkTo Enumeration
If specified, the content will be linked to the specified Hub-related location
Option Type Description
HomePage Enumeration Value View this hub.
Edit Enumeration Value Edit this hub.
Contact Enumeration Value Contact the owners of this hub.
EditTheme Enumeration Value Edit the theme of this hub.
MemberList Enumeration Value View/Manage the members of this hub.
PageList Enumeration Value View the pages in this hub.
CreatePage Enumeration Value Create a new page in this hub.
Rss Enumeration Value RSS feed for posts in this hub.
Nothing Enumeration Value Do not link to any location.
Property String
The property of this object to display.
Option Type Description
ApplicationKey String
ApplicationType ApplicationType Enumeration
AvatarUrl String
CategorySortBy PostCategorySortBy Enumeration
CategorySortOrder SortOrder Enumeration
DateCreated Date/Time Returns the date/time the forum was created.
DefaultLanguage String
DefaultThreadDateFilter ThreadDateFilterMode Enumeration Specifies how many days worth of posts to view per page when listing a forum's posts.
Description String Specifies the description of the forum.
ExtendedAttributesCount Integer
ForumType ForumType Enumeration
GroupID Integer
GroupName String Lazy loaded property which looks up the group name for the current group id and application type.
HtmlDescription String
HubSectionID Integer If HubSectionID > 0 section is a member of a hub
MetaTagDescription String
MetaTagKeywords String
MostRecentPostAuthor String Specifies the author of the most recent post to the forum.
MostRecentPostAuthorID Integer Specifies the author of the most recent post to the forum.
MostRecentPostDate Date/Time Specifies the date/time of the most recent post to the forum.
MostRecentPostID Integer Specifies the most recent post to the forum.
MostRecentPostSubject String Specifies the author of the most recent post to the forum.
MostRecentThreadID Integer Specifies the most recent thread id to the forum.
MostRecentThreadReplies Integer
Name String Specifies the name of the forum.
NavigateUrl String
NewsgroupName String
Owners String Property Owners (string)
ParentID Integer If ParentId > 0 this forum has a parent and is not a top-level forum
PostsToModerate Integer
SectionID Integer Specifies the unique identifier for the each forum.
SettingsID Integer Specifies the unique identifier for the site the forum belongs to.
SortOrder Integer
SpamAutoDeleteScore Integer Score above which a post is auto-deleted by Spam Blocker Overrides site setting
SpamAutoModerateScore Integer Score above which a post is auto-moderated by Spam Blocker Overrides site setting
Theme String
TotalPosts Integer Indicates how many total posts the forum has received.
TotalThreads Integer Indicates how many total threads are in the forum. A thread is a top-level post.
Url String
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 "...").
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:HubData /> control:

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

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

<CSHub:HubData
	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="..."
	Visible="..."
	runat="server">
	<ContentTemplate>
		...
	</ContentTemplate>
	<DisplayConditions>
		...
	</DisplayConditions>
	<LeaderTemplate>
		...
	</LeaderTemplate>
	<TrailerTemplate>
		...
	</TrailerTemplate>
	<TruncationEllipsisTemplate>
		...
	</TruncationEllipsisTemplate>
</CSHub:HubData>

See Also

<CSBlog:HubWeblogConfigurationSubForm />

SubForm control implementing support for configuring the Weblog within a Hub.

<CSForum:HubForumConfigurationSubForm />

SubForm control implementing support for configuring the Forum within a Hub.

<CSHub:CancelMembershipForm />

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

<CSHub:ContactForm />

Form control providing support for contacting the owners of a hub.

<CSHub:CreateHubForm />

Form control implementing support for creating a Hub.

<CSHub:EditHubForm />

Form control implementing support for the editing a Hub.

<CSHub:HubAvatar />

Renders a Hub's avatar.

<CSHub:HubAvatarSubForm />

SubForm control implementing support for defining a custom avatar for a Hub.

<CSHub:HubData />

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

<CSHub:HubList />

List control providing access to Hub objects.

<CSHub:HubPermissionCondition />

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

<CSHub:HubPropertyComparison />

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

<CSHub:HubPropertyValueComparison />

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

<CSHub:HubSubscriptionToggleButton />

Implementation of the ToggleButton control that toggles the accessing user's subscription to the current thread.

<CSHub:HubThemeConfigurationForm />

Form control implementing support for selecting a customizing the theme of a Hub.

<CSHub:ImportHubThemeConfigurationForm />

Form control implementing support for importing the configuration of a theme of a Hub.

<CSHub:InviteUserForm />

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

<CSHub:RequestMembershipForm />

Form control implementing support for requesting membership in a public Hub.

<CSHub:ThemeImage />

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

<CSHub:ThemeScript />

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

<CSHub:ThemeStyle />

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

<CSMedia:HubMediaGalleryConfigurationSubForm />

SubForm control implementing support for configuring the MediaGallery within a Hub.
Valid XHTML 1.0 Transitional Powered by Community Server (Commercial Edition), by Telligent Systems blogmailr enabled
© 2006-2008 Ben Tiedt
Sign in