Sets or retrieves a value that indicates whether to display a check box next to the nodes in a tree.
Syntax
| ASP |
<tagPrefix:ELEMENT CHECKBOX
= bCheckBox
... >
|
|---|
| Script | [ bCheckBox = ] object.CheckBox |
|---|
Possible Values
| tagPrefix | Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive. |
| bCheckBox | System.Boolean that
specifies or receives whether to display a check box next to the nodes in the tree. falseDefault. No check boxes are displayed. trueCheck boxes are displayed on each node in the tree.
|
The property is read/write.
The property has a default value of
false.
Remarks
Where the value of the
CheckBox attribute on a
TreeNodeType is
true, a
TreeNode element that is assigned that
TreeNodeType cannot directly override the
CheckBox value.
To override the value and set it to
false, do the following:
- Create a duplicate TreeNodeType.
- Change the CheckBox attribute to
false. - Change the name of the Type.
- Change the Type of the TreeNode to the same Type as the modified TreeNodeType.
Applies To
See Also