Chameleon Control Documentation | All Controls | All API Classes

<CSForum:ForumPropertyComparison />

Condition control that provides support for comparing two properties of a Forum object.
The <CSForum:ForumPropertyComparison /> control is a Condition Control that reports on Forum data. See more Condition controls.

Properties/Attributes

Property Type Description
ComparisonProperty1 String
Gets or sets the left value comparison property name.
Option Type Description
ApplicationKey String
ApplicationType ApplicationType Enumeration
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.
DefaultThreadStatusValue ThreadStatus Enumeration Set the default value of ThreadStatus for any new thread. EnableThreadStatus should be true to have this in effect.
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.
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
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
ComparisonProperty2 String
Gets or sets the right value comparison property name.
Option Type Description
ApplicationKey String
ApplicationType ApplicationType Enumeration
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.
DefaultThreadStatusValue ThreadStatus Enumeration Set the default value of ThreadStatus for any new thread. EnableThreadStatus should be true to have this in effect.
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.
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
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
DataSource Object
Gets or sets the data source from which the comparison property values will be retrieved.
ID String
Gets or sets the programmatic ID of the control. This ID can be used as a reference by other controls.
Operator ComparisonConditionOperator Enumeration
Gets or sets the operator used to compare the left and right values.
Option Type Description
LessThan Enumeration Value The left value is less than the right value.
GreaterThan Enumeration Value The left value is greater than the right value.
LessThanOrEqualTo Enumeration Value The left value is less than or equal to the right value.
GreaterThanOrEqualTo Enumeration Value The left value is greater than or equal to the right value.
EqualTo Enumeration Value The left value is equal to the right value.
StartsWith Enumeration Value The left value starts with the right value.
EndsWith Enumeration Value The left value ends with the right value.
Contains Enumeration Value The left value contains the right value.
IsSetOrTrue Enumeration Value The left value is not null or set (non-null and non-default) or true.
ContainsVisibleHtml Enumeration Value The left value contains visible HTML or text.
None Enumeration Value Operator is not selected.
Visible Boolean
Gets or sets whether this control should be rendered. If set to false, the control will not render.

Example

The following is a simple/minimal example of the <CSForum:ForumPropertyComparison /> control:

<CSForum:ForumPropertyComparison ComparisonProperty1="..." Operator="..." ComparisonProperty2="..." runat="server" />

The following example shows all of the configurable options of the <CSForum:ForumPropertyComparison /> control:

<CSForum:ForumPropertyComparison
	ComparisonProperty1="..."
	ComparisonProperty2="..."
	ID="..."
	Operator="..."
	Visible="..."
	runat="server" />

See Also

<CSForum:ForumData />

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

<CSForum:ForumEditableData />

Single value control supporting and inline editing of Forum data. Data is editable by forum administrators only.

<CSForum:ForumList />

List control providing access to Forum objects.

<CSForum:ForumPermissionCondition />

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

<CSForum:ForumPropertyComparison />

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

<CSForum:ForumPropertyValueComparison />

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

<CSForum:ForumStatusIcon />

Single-value control that displays the status icon for the current Forum.
Valid XHTML 1.0 Transitional Powered by Community Server (Commercial Edition), by Telligent Systems blogmailr enabled
© 2006-2008 Ben Tiedt
Sign in