The Comments type exposes the following members.

Properties

  Name Description
Public property BlogPostSubscriptionLocalization
Gets the Blog post subscription localization.

Note: Used to perform programatic localization of subscription strings.

Public property CommentTextBoxVisibleOnInit
Indicates if comment text box is visible on control init.
Public property DateFormatString
Date format string.
Public property EnablePrettyDateFormat
Gets or sets if pretty date format is enabled.

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

Public property EnableSubscription
Sends notifications on non-spam comments to the blog author.
Public property GravatarRenderType
Type of the avatar to be rendered - if not set, the web.config settings are used.
Public property MaxContentChars
Maximum number of characters in the content of the comment. If set to zero, content is not limited.
Public property Pager
Pager control
Public property PageSize
Pager page size.
Public property PagingEnabled
Indicates if paging is enabled in the comments module
Public property ParentEntityId
ID of the parent entity (wall note, picture, etc.) for which to show comments
Public property ParentEntityType
Enum that describes the parent entity type (note, file, album, custom, etc.)
Public property TemplatedControl
Templated list view that is used for rendering the "repeatable" section of this control.
Public property UserProfileUrl
URL of the user profile page. If empty, a postback is performed to the same page.
Public property UserReputationNewCommentScore
Gets or sets how much score user gets for new comment submission.
Public property WallSubscriptionLocalization
Gets the WallNote subscription localization.

Note: Used to perform programatic localization of subscription strings.

See Also