WFComment

The implementation of this Web Control records and displays comments on the page. It consists of two parts, one is a text box where the user can input comments, and the other is a display box where comment history is shown. The comment history box will be hidden if previous comments do not exist.

If the user wants to input special characters in the comment, the page attribute ValidateRequest should be set to false:

Properties

Field Name Definition
BindingName

The BindingName property allows you to type in a name that becomes the custom attribute name. You can also select the XPath of the data element contained within the XML Schema file for which to bind this control.

Click on the BindingName property, the Select XPath from XML Schema window appears.

Choose an XPath node for which to bind and click OK.

ShowCommentList

Determines whether the comment list is visible or not (i.e. True/False).

CommentBackColor

Determines the background color of the comment title bar.

CommentCaption

Determines the caption of the comment title bar.

CommentTitleAlign

Determines the caption alignment in the comment title bar.

BarColor

Determines the color of the separator bar in the comment list at run time.

BarHeight

Determines the height of the separator bar in the comment list at run time.

CommentListBackColor

Determines the background color of the comment list title bar.

CommentListCaption

Determines the caption of the comment list title bar.

CommentListTitleAlign

Determines the caption alignment in the comment list title bar.

CustomFormat

Determines the style of appearance of Comment Name and Date. Parameter {0} represents date and {1} represents username, you can change the format as desired, but the two parameters cannot be omitted.

Height

Determines the height of the comment list. The minimum height should be 100px.

Width

Determines the width of the comment list. The minimum width is 400px.

Inherits

  • System.Web.UI.WebControls.CompositeControl
  • WFDataBindingControl

Usage

Not applicable.