The DiscussionBase type exposes the following members.

Constructors

  Name Description
Public method DiscussionBase
Constructor.

Methods

  Name Description
Public method BindData
Binds data in the part.
Protected method DiscussionSanitize(String)
Protected method DiscussionSanitize(String, Boolean, Boolean)
Public method Dispose
Disposes data adapter and entity helper.
(Overrides BasePart..::..Dispose()()()().)
Public method Static member GenerateBoardDefaultUrl(SnDiscussionBoardEntity)
Generates discussion board default url.
Public method Static member GenerateBoardDefaultUrl(IDiscussionBLL, SnDiscussionTopicEntity, Int32, String)
Generates discussion board default url.
Public method Static member GenerateBoardDefaultUrl(IDiscussionBLL, SnDiscussionTopicEntity, Int32, String, String%, String%)
Generates discussion board default url.
Public method Static member GenerateBoardUrl(SnDiscussionBoardEntity)
Generates discussion board url.
Public method Static member GenerateBoardUrl(IDiscussionBLL, SnDiscussionTopicEntity, Int32, String)
Generates discussion board url.
Public method Static member GenerateBoardUrl(IDiscussionBLL, SnDiscussionTopicEntity, Int32, String, String%, String%)
Generates discussion board url.
Public method Static member GenerateEditMessageUrl
Generates discussion edit message url.
Public method Static member GenerateMessageDefaultUrl(IDiscussionBLL, SnDiscussionMessageEntity)
Generates discussion message default url.
Public method Static member GenerateMessageDefaultUrl(IDiscussionBLL, Guid, SnDiscussionMessageEntity)
Generates discussion message url.
Public method Static member GenerateMessageUrl(IDiscussionBLL, Guid, SnDiscussionMessageEntity)
Generates discussion message url.
Public method Static member GenerateMessageUrl(IDiscussionBLL, Guid, SnDiscussionMessageEntity, String%)
Generates discussion message url.
Public method Static member GenerateTopicDefaultUrl
Generates discussion topic default url.
Public method Static member GenerateTopicUrl
Generates discussion topic url.
Public method GetBackToBoardListNavigateUrl
Produces a board list URL.
Protected method GetDateDisplayText
Gets the date time display text.
Public method GetRssChannel
Gets the rss channel.
Public method Static member GetTopicDefaultFilterUrl
Get topic default filter url.
Public method Static member GetTopicFilterUrl
Get topic filter url.
Public method Static member GetTopicTagDefaultFilterUrl
Get topic tag default filter url.
Public method Static member GetTopicTagFilterUrl
Get topic tag filter url.
Protected method GetUserRoleIds
Get user role ids.
Protected method IsCurrentUserGroupAdmin
Returns a value indicating whether current user is group admin.
Protected method IsCurrentUserGroupMember
Returns the flag if current user is group member.
Protected method IsDiscussionEditableByUser
Is discussion editable by the current user.
Protected method OnInit
Overriden OnInit: support for RSS Engine.
(Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnPreRender
Overriden OnPreRender.

Note: Support for Discussion daily report.

Note: Support for the Role access security.

(Overrides BasePart..::..OnPreRender(EventArgs).)

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field _rssChannel
RSS Chanel.

Properties

  Name Description
Public property ContainerMessage
Gets or sets discussion container notification message.
Public property DateFormatString
Gets or sets date format string.
Public property EnableAnsweredTopicAutoClose
Gets or sets a value indicating whether answered topic is automatically closed.
Public property EnableAnswering
Gets or sets a flag if answering should be enabled.
Public property 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.

Public property EnableBoardMembership
Gets or sets a flag if discussion board should enable membership security (Role security).
Public property EnableContentSharing
Gets or sets a flag if content sharing should be enabled.
Public property EnableDiscussionDefaultUrl
Gets or sets a value indicating whether a discussion default url is enabled.
Public property EnableHtmlEditor
Gets or sets a flag if discussion board should use Html editor for message posts.
Public property EnableNotificationsOnEdit
Gets or sets a value indicating whether an edit action will trigger the notification send-out.
Public property EnableOwnerDeleteOperation
Gets or sets a value indicating whether owner is allowed to delete the topic or message.
Public property EnablePinItems
Gets or sets a flag if pin items are enabled.
Public property EnablePrettyDateFormat
Gets or sets if pretty date format is enabled.

Note: Example of pretty date format '2 days ago'.

Public property EnablePrettyPhoto
Uses Pretty Photo functionality instead of redirecting to a file preview page.
Public property EnableSubscription
Gets or sets a flag if discussion board should enable subscription.
Public property EnableSyntaxHighlighter
Gets or sets a flag if syntax highlighter should be enabled.
Public property 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.

Public property GravatarRenderType
Type of the avatar to be rendered - if not set, the web.config settings are used.
Public property GroupId
Gets or sets group id.
Public property InfoCaptionLength
Gets or sets the number of characters shown by the information caption.

e.g. Last topic information, Last post information etc.

Public property IsEditMode
Gets if control is in edit mode.
Public property NotificationsOnEditDelay
Gets or sets a value indicating number of hours before edit notifications are active again.
Public property PagerQueryStringFiles
Gets or sets Pager query string name for files.
Public property PagerTemplateNameFiles
Gets or sets pager template name for files.
Public property PageSize
Gets or sets Pager page size.
Public property PageSizeFiles
Gets or sets Pager (files) page size.
Public property PagingEnabledFiles
Indicates if paging is enabled in the files module
Public property RatingHistoryTemplatePath
Gets or sets the rating history template path.
Public property RatingSkin
Gets or sets Rating default skin name.
Public property RatingTemplatePath
Gets or sets the rating template path.
Public property RssEnabled
Gets or sets if Rss Engine should use this web part RSS channels.
Public property ThumbnailSize
Gets or sets a value indicating the thumbnail size.
Public property UserReputationAnswerScore
Gets or sets how much score user gets for providing an answer.
Public property UserReputationHamReportScore
Gets or sets how much score user gets for ham report.
Public property UserReputationNewFileScore
Gets or sets how much score user gets for new file submission.
Public property UserReputationNewMessageScore
Gets or sets how much score user gets for new message submission.
Public property UserReputationNewTopicScore
Gets or sets how much score user gets for new topic submission.
Public property UserReputationSpamReportScore
Gets or sets how much score user gets for spam report.

See Also