< Iewc: Treeview ID = "Treeview1" Style = "Z-INDEX: 101; left: 176px; position: absolute; top: 32px"
Runat = "Server" Treenodesrc = "Tree3.xml" > </ Iewc: Treeview > < ASP: textbox ID = "Textbox1" Style = "Z-INDEX: 102; left: 176px; position: absolute; top: 144px"
Runat = "Server" Textmode = "Multiline" Width = "328px" Height = "192px" > </ ASP: textbox >
Tree3.xml
<? XML version = "1.0" encoding = "UTF-8" ?>
< Treenodes >
< Treenode Text = "Teach Yourself Active Server Pages 3.0 in 21 days" >
< Treenode Text = "Price $34.95" />
</ Treenode >
< Treenode Text = "Authors" >
< Treenode Text = "Mitchell" />
< Treenode Text = "Atkinson" />
</ Treenode >
</ Treenodes >
Valid values directly on the HTML page
However, I use the dynamically bound treenode1.treenodesrc = "Admin. xml ";
Treeview1.treenodesrc = "Admin. xml ";
Treeview1.nodes [0]. treenodesrc = "Admin. xml ";
These three writing methods do not work. Why?