TreeView::PathSeparator Property
Gets or sets the character that is used to delimit the node values that are specified by the ValuePath property.
Assembly: System.Web (in System.Web.dll)
The ValuePath property contains a delimiter-separated list of node values that form a path from the root node to the current node. Use the PathSeparator property to specify the delimiter character that is used to separate the node values. This value is commonly used when parsing the list for the individual values.
Depending on the text that is displayed in the TreeView control, the delimiter character might need to be changed to prevent any conflicts. For example, if you set the delimiter character to a comma, the displayed text should not contain any commas; otherwise, the ValuePath property cannot be parsed accurately.
The value of this property is stored in view state.
Available since 2.0