Documentation Center

Upvote or Downvote Comment

Raises or lowers the comment score of a comment. Place the tag above your HTML form for upvoting or downvoting comments.

LanguageCommand
ASP.NET Server Control<ugc:VoteComment runat="server">
JSP Custom Tag<ugc:VoteComment>
TCDL tag<tcdl:VoteComment>

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.