Upvote or Downvote Comment
| Language | Command |
|---|---|
| ASP.NET Server Control | <ugc:VoteComment runat="server"> |
| JSP Custom Tag | <ugc:VoteComment> |
| TCDL tag | <tcdl:VoteComment> |
Description: Raises or lowers the comment score of a comment. Place this tag above your HTML form for upvoting or downvoting comments.
Attributes:
| Attribute name (JSP or TCDL) | Description |
|---|---|
voteParameter (JSP or TCDL) or VoteParameter (ASP.NET) | The name of the form parameter that corresponds to an upvote or downvote. This parameter must have the value up or the value down. |
commentIdParameter (JSP or TCDL) or CommentIdParameter (ASP.NET) | (optional) The name of the form parameter that contains the unique identifier identifying the comment to which this upvote or downvote relates. |