The Comments type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Comments |
Constructor.
|
Methods
Name | Description | |
---|---|---|
ApplyChanges |
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).
(Overrides BasePart..::..ApplyChanges()()()().)Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance. |
|
BindData |
Binds and formats comment data for display in the main list view control.
|
|
btnSave_Click | ||
DeleteComment |
Performs a delete action on specified comment id.
|
|
LoadPostData |
Used to implement link button event handling capabilities in late bound scenarios.
|
|
lvItems_OnItemDataBound | ||
OnDeleted |
Raises deleted event.
|
|
OnDeleting |
Raises deleting event.
|
|
OnInit | (Overrides BasePart..::..OnInit(EventArgs).) | |
OnLoad | (Overrides BasePart..::..OnLoad(EventArgs).) | |
OnPreRender | (Overrides BasePart..::..OnPreRender(EventArgs).) | |
OnSaved |
Raises saved event.
|
|
OnSaving |
Raises saving event.
|
|
ParseTemplateTags |
Formats the comment data for display using the template.
|
|
RaisePostBackEvent | ||
RaisePostDataChangedEvent |
Methid is used only if you need to perform event raising capabilities for the Web part.
|
|
SaveComment |
Save comment.
|
|
SendMailNotification |
Send mail notification to users when a comment is posted.
|
|
SetRelationshipData |
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
btnSave |
btnSave control.
|
|
DeleteCommandName | ||
lvItems |
lvItems control.
|
|
pager |
pager control.
|
|
pnlCommentBox |
pnlCommentBox control.
|
|
pnlContainer |
pnlContainer control.
|
|
reqInput |
reqInput control.
|
|
scriptManagerProxy |
scriptManagerProxy control.
|
|
txtInput |
txtInput control.
|
|
validationHandler |
validationHandler control.
|
Properties
Name | Description | |
---|---|---|
BlogPostSubscriptionLocalization |
Gets the Blog post subscription localization.
Note: Used to perform programatic localization of subscription strings. |
|
CommentTextBoxVisibleOnInit |
Indicates if comment text box is visible on control init.
|
|
DateFormatString |
Date format string.
|
|
EnablePrettyDateFormat |
Gets or sets if pretty date format is enabled.
Note: Example of pretty date format '2 days ago'. |
|
EnableSubscription |
Sends notifications on non-spam comments to the blog author.
|
|
GravatarRenderType |
Type of the avatar to be rendered - if not set, the web.config settings are used.
|
|
MaxContentChars |
Maximum number of characters in the content of the comment. If set to zero, content is not limited.
|
|
Pager |
Pager control
|
|
PageSize |
Pager page size.
|
|
PagingEnabled |
Indicates if paging is enabled in the comments module
|
|
ParentEntityId |
ID of the parent entity (wall note, picture, etc.) for which to show comments
|
|
ParentEntityType |
Enum that describes the parent entity type (note, file, album, custom, etc.)
|
|
TemplatedControl |
Templated list view that is used for rendering the "repeatable" section of this control.
|
|
UserProfileUrl |
URL of the user profile page. If empty, a postback is performed to the same page.
|
|
UserReputationNewCommentScore |
Gets or sets how much score user gets for new comment submission.
|
|
WallSubscriptionLocalization |
Gets the WallNote subscription localization.
Note: Used to perform programatic localization of subscription strings. |
Events
Name | Description | |
---|---|---|
Deleted |
Deleted event, occures after delete action is preformed.
|
|
Deleting |
Deleting event, occures just before delete action is preformed.
|
|
Saved |
Saved event, occures after save action is preformed.
|
|
Saving |
Saving event, occures just before save action is preformed.
|