The DiscussionBase type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
DiscussionBase |
Constructor.
|
Methods
| Name | Description | |
|---|---|---|
|
|
BindData |
Binds data in the part.
|
|
|
DiscussionSanitize(String) | |
|
|
DiscussionSanitize(String, Boolean, Boolean) | |
|
|
GenerateBoardDefaultUrl |
Generates discussion board default url.
|
|
|
GenerateBoardUrl(SnDiscussionBoardEntity) |
Generates discussion board url.
|
|
|
GenerateBoardUrl(SnDiscussionTopicEntity, Int32, String) |
Generates discussion board url.
|
|
|
GenerateBoardUrl(SnDiscussionTopicEntity, Int32, String, String%, String%) |
Generates discussion board url.
|
|
|
GenerateEditMessageUrl |
Generates discussion edit message url.
|
|
|
GenerateMessageDefaultUrl |
Generates discussion message default url.
|
|
|
GenerateMessageUrl(Guid, SnDiscussionMessageEntity, String%) |
Generates discussion message url.
|
|
|
GenerateMessageUrl(Guid, SnDiscussionMessageEntity, Int32, String) |
Generates discussion message url.
|
|
|
GenerateTopicDefaultUrl |
Generates discussion topic default url.
|
|
|
GenerateTopicUrl |
Generates discussion topic url.
|
|
|
GetBackToBoardListNavigateUrl |
Produces a board list URL.
|
|
|
GetDateDisplayText |
Gets the date time display text.
|
|
|
GetRssChannel |
Gets the rss channel.
|
|
|
GetTopicFilterUrl |
Get topic filter url.
|
|
|
GetTopicTagFilterUrl |
Get topic tag filter url.
|
|
|
GetUserRoleIds |
Get user role ids.
|
|
|
IsCurrentUserGroupAdmin |
Returns a value indicating whether current user is group admin.
|
|
|
IsCurrentUserGroupMember |
Returns the flag if current user is group member.
|
|
|
IsDiscussionEditableByUser |
Is discussion editable by the current user.
|
|
|
OnInit |
Overriden OnInit: support for RSS Engine.
(Overrides BasePart..::..OnInit(EventArgs).) |
|
|
OnPreRender |
Overriden OnPreRender.
(Overrides BasePart..::..OnPreRender(EventArgs).)Note: Support for Discussion daily report. Note: Support for the Role access security. |
Fields
| Name | Description | |
|---|---|---|
|
|
_rssChannel |
Properties
| Name | Description | |
|---|---|---|
|
|
ContainerMessage |
Gets or sets discussion container notification message.
|
|
|
DateFormatString |
Gets or sets date format string.
|
|
|
EnableAnsweredTopicAutoClose |
Gets or sets a value indicating whether answered topic is automatically closed.
|
|
|
EnableAnswering |
Gets or sets a flag if answering should be enabled.
|
|
|
EnableAutoSubscription |
Gets or sets a flag if discussion should enable auto subscription option.
Note: If auto subscription is enabled then auto subscribe checkbox will then prefer true as default value. |
|
|
EnableBoardMembership |
Gets or sets a flag if discussion board should enable membership security (Role security).
|
|
|
EnableContentSharing |
Gets or sets a flag if content sharing should be enabled.
|
|
|
EnableHtmlEditor |
Gets or sets a flag if discussion board should use Html editor for message posts.
|
|
|
EnableOwnerDeleteOperation |
Gets or sets a value indicating whether owner is allowed to delete the topic or message.
|
|
|
EnablePinItems |
Gets or sets a flag if pin items are enabled.
|
|
|
EnablePrettyDateFormat |
Gets or sets if pretty date format is enabled.
Note: Example of pretty date format '2 days ago'. |
|
|
EnablePrettyPhoto |
Uses Pretty Photo functionality instead of redirecting to a file preview page.
|
|
|
EnableSubscription |
Gets or sets a flag if discussion board should enable subscription.
|
|
|
EnableSyntaxHighlighter |
Gets or sets a flag if syntax highlighter should be enabled.
|
|
|
EnableXSSSecurityParser |
Gets or sets a value that indicates whether XSS security parser is enabled.
Note: Removes any potentially dangerous XSS HTML tags using a whitelist approach. |
|
|
GravatarRenderType |
Type of the avatar to be rendered - if not set, the web.config settings are used.
|
|
|
GroupId |
Gets or sets group id.
|
|
|
InfoCaptionLength |
Gets or sets the number of characters shown by the information caption.
e.g. Last topic information, Last post information etc. |
|
|
IsEditMode |
Gets if control is in edit mode.
|
|
|
PagerQueryStringFiles |
Gets or sets Pager query string name for files.
|
|
|
PagerTemplateNameFiles |
Gets or sets pager template name for files.
|
|
|
PageSize |
Gets or sets Pager page size.
|
|
|
PageSizeFiles |
Gets or sets Pager (files) page size.
|
|
|
PagingEnabledFiles |
Indicates if paging is enabled in the files module
|
|
|
RatingHistoryTemplatePath |
Gets or sets the rating history template path.
|
|
|
RatingSkin |
Gets or sets Rating default skin name.
|
|
|
RatingTemplatePath |
Gets or sets the rating template path.
|
|
|
RssEnabled |
Gets or sets if Rss Engine should use this web part RSS channels.
|
|
|
UserReputationAnswerScore |
Gets or sets how much score user gets for providing an answer.
|
|
|
UserReputationHamReportScore |
Gets or sets how much score user gets for ham report.
|
|
|
UserReputationNewFileScore |
Gets or sets how much score user gets for new file submission.
|
|
|
UserReputationNewMessageScore |
Gets or sets how much score user gets for new message submission.
|
|
|
UserReputationNewTopicScore |
Gets or sets how much score user gets for new topic submission.
|
|
|
UserReputationSpamReportScore |
Gets or sets how much score user gets for spam report.
|