The DiscussionTopics type exposes the following members.

Constructors

  Name Description
Public method DiscussionTopics
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 data for display in the main list view control.
(Overrides DiscussionBase..::..BindData()()()().)
Protected method ChangeTopicInputFormVisibility
Change the topic input form visibility.
Protected method CreateTopicsFilter
Create a topic filter.
Protected method CreateTopicsSorter
Create a topic sorter.
Public method EditTopic
Edit discussion topic.
Public method GenerateTagString
Generates a tag string from an entity's collection of tags.
Protected method GetTopics
Gets the discussion board topics.
Protected method InvalidateAfterTopicUpdate
Invalidates the topic cache after topic has been updated.
Public method OnAfterCancelClick
Raised after cancel new or update topic is clicked.
Public method OnAfterNewClick
Raised after new topic is clicked.
Public method OnBeforeCancelClick
Raised before cancel new or update topic is clicked.
Public method OnBeforeNewClick
Raised before new topic is clicked.
Protected method OnBinding
Raises the binding event with item collection.
Public method OnBoardClosed
Raised after board is closed.
Public method OnBoardClosing
Raised before board is closed.
Protected method OnInit (Overrides DiscussionBase..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnPost
On topic post.
Protected method OnPreRender (Overrides DiscussionBase..::..OnPreRender(EventArgs).)
Public method OnTopicSaved
Raised after topic is saved.
Public method OnTopicSaving
Raised before topic is saved.
Protected method ParseTemplateTags
Parses all template tags and generates a proper HTML based on the current template.

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 btnCancelNewTopic
btnCancelNewTopic control.
Protected field btnNewTopic
btnNewTopic control.
Protected field btnSaveNewTopic
btnSaveNewTopic control.
Protected field discussionMessages
discussionMessages control.
Protected field labTitle
labTitle control.
Protected field lblTopicTitle
lblTopicTitle control.
Protected field lnkBack
lnkBack control.
Protected field lnkClose
lnkClose control.
Protected field lnkDeleteSpam
lnkDeleteSpam control.
Protected field lnkDeleteUnApproved
lnkDeleteUnApproved control.
Protected field lnkEditBoard
lnkEditBoard control.
Protected field lnkOptions
lnkOptions control.
Protected field lnkSortHotTopicsOnTop
lnkSortHotTopicsOnTop control.
Protected field lnkSortNewTopicsOnTop
lnkSortNewTopicsOnTop control.
Protected field lnkSortTopicsAlphabetically
lnkSortTopicsAlphabetically control.
Protected field lnkSortUpdatedTopicsOnTop
lnkSortUpdatedTopicsOnTop control.
Protected field lnkSubscribe
lnkSubscribe control.
Protected field lvDT
lvDT control.
Protected field pager
pager control.
Protected field panNewTopic
panNewTopic control.
Protected field plhHeader
plhHeader control.
Protected field plhNewTopic
plhNewTopic control.
Protected field pnlClose
pnlClose control.
Protected field pnlDeleteSpam
pnlDeleteSpam control.
Protected field pnlDeleteUnApproved
pnlDeleteUnApproved control.
Protected field pnlEditBoard
pnlEditBoard control.
Protected field summary
summary control.
Protected field tags
tags control.
Protected field txtTopicTitle
txtTopicTitle control.
Protected field upNewTopic
upNewTopic control.
Protected field upSub
upSub control.
Protected field upTop
upTop control.
Protected field validationHandler
validationHandler control.
Protected field vldRequiredTopicTitle
vldRequiredTopicTitle 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 BoardId
Gets or sets topic 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 EditBoardVisible
Gets or sets a value indicating whether a edit board link is visible.
Public property EnableInsertNewTopic
Gets or sets a flag if new topic can be inserted.
Public property EnablePaging
Gets or sets a value indicating whether topic paging is enabled.
Public property EnableRating
Gets or sets a flag if rating is enabled.
Public property EnableTags
Gets or sets a flag if topic tags should be shown.
Public property HeaderVisible
Gets or sets a value indicating whether a topic haeder is visible.
Public property IsPublic
Gets or sets a flag if discussion board is visible for an unauthenticated users.
Public property MaximumTags
Gets or sets a maximum number of tags that should be shown.
Public property MessagePagerQueryString
Gets or sets discussion Message pager SEO query string.
Public property ModuleType
Public property PageSize
Gets or sets Pager page size.
Public property RewritePageTitle
Wheter to rewrite the container page title or not, note that by turning this on you will turn on the meta keywords and description rewrite.
Public property ShowBackLink
Gets or sets a flag if back link is 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 TopicFilterType
Gets or sets topic filter type.
Public property TopicSorter
Gets or sets the topic sorter type used for filtering.
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 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 topic binding event.
Public event RenderContentSharingItem

See Also