The BlogCommentsList type exposes the following members.

Constructors

  Name Description
Public method BlogCommentsList
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 comment data for display in the main list view control.
(Overrides BaseBlogPart..::..BindData()()()().)
Protected method InitCommentParent
Initialize comment parent entity.
Protected method lvItems_OnItemDataBound
Protected method OnApproved
Raises post approved event.
Protected method OnDeleted
Raises deleted comment event.
Protected method OnDeleting
Raises deleting comment event.
Protected method OnInit (Overrides BaseBlogPart..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)
Protected method OnReportHam
Raises post reported as ham event.
Protected method OnReportSpam
Raises post reported as spm event.
Protected method ParseCommentTemplateTags
Parses all template tags and generates a proper HTML based on the current template for a blog post

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 btnDeleteSpam
btnDeleteSpam control.
Protected field btnDeleteUnapproved
btnDeleteUnapproved control.
Protected field lbHeader
lbHeader control.
Protected field ltlSeparator
ltlSeparator control.
Protected field lvItems
lvItems control.
Protected field pager
pager control.
Protected field pnlButtons
pnlButtons control.
Protected field pnlContainer
pnlContainer 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 BlogPost
Parent blog post for all comments in this module
Public property DateFormatString
Date format string
Public property MaxDescriptionChars
Maximum number of characters in the comment
Public property PageSize
Pager page size.
Public property PagingEnabled
Indicates if paging is enabled in the module.
Public property TemplatedControl
Templated list view that is used for rendering the "repeatable" section of this control.

Events

  Name Description
Public event Approved
Approve post event handler.
Public event Deleted
Deleted comment event handler.
Public event Deleting
Deleting comment event handler.
Public event ReportHam
Report Ham post event handler.
Public event ReportSpam
Report Spam post event handler.

See Also