The DiscussionMessages type exposes the following members.

Constructors

  Name Description
Public method DiscussionMessages
Constructor.

Methods

  Name Description
Public method ApplyChanges
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).

Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance.

(Overrides BasePart..::..ApplyChanges()()()().)
Public method BindData
Binds and formats topic message data for display in the main list view control.
(Overrides DiscussionBase..::..BindData()()()().)
Public method ClearInputForm
Clear message input form.
Protected method GetMessages
Gets the discussion baord messages for current topic.
Protected method OnBinding
Raises the binding event with item collection.
Protected method OnInit (Overrides DiscussionBase..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Public method OnPost
Executes Topic message post process.
Public method OnPostAndRedirect
Executes Topic message post process and redirect's to the message list.
Protected method OnPreRender (Overrides DiscussionBase..::..OnPreRender(EventArgs).)
Protected method ParseTemplateTags
Parses all template tags and generates a proper HTML based on the current template for a message list.

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 btnCancel
btnCancel control.
Protected field btnPost
btnPost control.
Protected field chkSubscribe
chkSubscribe control.
Protected field ctlFileGallery
ctlFileGallery control.
Protected field ctlUpload
ctlUpload control.
Protected field labApprovalNote
labApprovalNote control.
Protected field labBoardTitle
labBoardTitle control.
Protected field labDate
labDate control.
Protected field labStats
labStats control.
Protected field labStatsPosts
labStatsPosts control.
Protected field labSubscribe
labSubscribe control.
Protected field labTopicTitle
labTopicTitle control.
Protected field lblAttachments
lblAttachments control.
Protected field litReply
litReply control.
Protected field lnkAuthor
lnkAuthor control.
Protected field lnkBack
lnkBack control.
Protected field lnkClose
lnkClose control.
Protected field lnkDeleteSpam
lnkDeleteSpam control.
Protected field lnkDeleteUnApproved
lnkDeleteUnApproved control.
Protected field lnkEditTopic
lnkEditTopic control.
Protected field lnkSubscribe
lnkSubscribe control.
Protected field lvM
lvM control.
Protected field pager
pager control.
Protected field panHeader
panHeader control.
Protected field panSubscribe
panSubscribe control.
Protected field panTellAFriend
panTellAFriend control.
Protected field plhMessages
plhMessages control.
Protected field plhReply
plhReply control.
Protected field plhSummary
plhSummary control.
Protected field plhTopicInfo
plhTopicInfo control.
Protected field pnlMain
pnlMain control.
Protected field radReply
radReply control.
Protected field relatedContent
relatedContent control.
Protected field rwm
rwm control.
Protected field summary
summary control.
Protected field textBoxSyntaxHighlighter
textBoxSyntaxHighlighter control.
Protected field txtReply
txtReply control.
Protected field upS
upS control.
Protected field upSub
upSub control.
Protected field upTop
upTop control.
Protected field validationHandler
validationHandler control.

Properties

  Name Description
Public property ApprovalMode
Comment approval mode. When set to none, no approval is needed; when set to automatic, services like Akismet and Defensio are used; when set to manual, admin must manually approve all comments.
Public property AvatarSize
Gets or sets Avatar size - 1 to 80 for gravatars.
Public property BoardId
Gets or sets board id.
Public property BoardTitleVisible
Gets or sets a value indicating whether board title is visible.
Protected property CacheManager
Gets cache manager.
Public property ContentProviderTypeName
Gets or sets Content provider type name used for uploading files.
Public property ContentSharingEnabled
Gets or sets if Content Sharing is enabled.
Public property CurrentMode
Gets discussion message mode
Public property EditTopicVisible
Gets or sets a value indicating whether a edit topic link is visible.
Public property EnableRating
Gets or sets a flag if rating is enabled.
Public property HideIfEmpty
Hide part if it doesn't contain any data.
Public property IsPublic
Gets or sets a flag if discussion board is visible for an unauthenticated users.
Public property IsValid
Gets a value indicating whether page validation succeeded.
Public property MaxPostLength
Gets or sets a maximum length of the post that will be shown to the user.
Public property MessageText
Gets the message text.
Public property ModuleType
Module type.
Public property NewMessageId
Gets or sets the new message ID that is used to establish a relation with discussion message and uploaded files (as files are uploaded before the post is entered into the database).
Public property PageSize
Gets or sets Pager page size.
Public property ProviderClientSideCode
Gets custom Content Sharing provider code for this Web part.
Public property RatingHistoryVisible
Gets or sets a value that indicates whether rating history is visible.
Public property RelatedContentVisible
Gets or sets a value that indicates whether related content control is visible.
Public property RewritePageTitle
Wheter to rewrite the container page title.
Public property ShowActionButtons
Gets or sets if action buttons should be shown.
Public property ShowHeader
Gets or sets a flag if header should be shown.
Public property ShowMessagePost
Gets or sets if message post area should be shown.
Public property ShowMessages
Gets or sets if message posts should be shown.
Public property ShowPager
Gets or sets a flag if pager should be shown.
Public property SubscriptionLocalization
Gets the subscription localization.

Note: Used to perform programatic localization of subscription strings.

Public property TemplatedControl
Gets or sets Templated list view that is used for rendering the "repeatable" section of this control.
Public property TopicId
Gets or sets topic id.
Public property TopicPagerQueryString
Gets or sets discussion topic pager SEO query string.
Public property TopicTitleVisible
Gets or sets a value indicating whether topic title is visible.
Public property UploadFolder
Gets or sets File upload folder. The following special strings can be used and will be replaced by the appropriate values: {username}, {userid}, {id}.
Public property UserId
Gets or sets user id.
Public property UserProfileUrl
Gets or sets URL of the user profile page. If empty, a postback is performed to the same page.
Public property UseTellAFriendProvider
Gets or sets if Content Sharing Engine should use Tell a Friend as default provider (over the Add This provider).

Events

  Name Description
Public event Binding
Discussion message binding event.
Public event RenderContentSharingItem
Render content sharing item.

See Also