TREENODETYPESRC Attribute | TreeNodeTypeSrc Property
Sets or retrieves the URL to an XML file containing TreeNodeType elements.
Syntax
Visual Basic Public Property TreeNodeTypeSrc As string C# public string TreeNodeTypeSrc { get; set; } Managed C++ public: __property string get_TreeNodeTypeSrc();
public: __property void set_TreeNodeTypeSrc(string);JScript public function get TreeNodeTypeSrc() : string;
public function set TreeNodeTypeSrc(string);
Possible Values
sTreeNodeTypeSrc string that specifies or receives the URL to an XML file containing TreeNodeType elements. The property is read/write. The property has no default value.
Remarks
The value of this property must be a URL, for example, "https://www.mysite.com/xml_files/treenodetypes.xml", "file:///c:/xml_files/treenodetypes.xml", or "c:/xml_files/treenodetypes.xml".
You can encapsulate and reuse node types in an XML data island. The XML file must contain only TreeNodeType elements wrapped in opening and closing TREENODETYPES tags.
The content of the XML data island, referred to by the TreeNodeTypeSrc property, replaces all TreeNodeType elements that are children of the TreeView element.
The XML data island inherits the namespace of the databound element. The XML file must not contain any namespaces.
The XML data island must be syntactically well-formed XML.
Applies To
TREEVIEW
See Also
Internet Explorer WebControls, About the TreeView WebControl