C
Chris Hoare
I have tried to create a treeview but instead of an
explorer style screen, I get a line of text with nothing
treeview-like about it at all.
Heres my code....
<html>
<body>
<form name="Form1" method="post"
action="webform2.aspx" id="Form1">
<input type="hidden" name="__Treeview1_State__" value="" />
<input type="hidden" name="__VIEWSTATE"
value="dDwxNjkzMTE3NDIyO3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDE+Oz47
bDx0PEAwPHA8cDxsPFNlbGVjdGVkTm9kZUluZGV4Oz47bDwwOz4+Oz47Ozs
7O0AwPDtAMDxsPGk8MD47PjtsPEAwPEAwPHA8bDxTZWxlY3RlZDs+O2w8bz
x0Pjs+Pjs7Ozs+Ozs+Oz47Pjs+Oz47Oz47Pj47Pj47bDxUcmVldmlldzE7P
j6WbtDyH//k5D37neLk1s9e8S6T+w==" />
<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS
IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
<tvns:treeview id="Treeview1" NAME="Treeview1"
selectedNodeIndex="0" HelperID="__Treeview1_State__"
systemImagesPath="/webctrl_client/1_0/treeimages/"
onexpand="javascript: if (this.clickedNodeIndex != null)
this.queueEvent('onexpand', this.clickedNodeIndex)"
oncollapse="javascript: if (this.clickedNodeIndex != null)
this.queueEvent('oncollapse', this.clickedNodeIndex)"
oncheck="javascript: if (this.clickedNodeIndex != null)
this.queueEvent('oncheck', this.clickedNodeIndex)"
onselectedindexchange="javascript: if
(event.oldTreeNodeIndex != event.newTreeNodeIndex)
this.queueEvent('onselectedindexchange',
event.oldTreeNodeIndex + ',' + event.newTreeNodeIndex)">
<tvns:treenode Selected="true">
My first Tree Node<tvns:treenode>
My second Tree Node
</tvns:treenode>
</tvns:treenode>
</tvns:treeview>
</form>
</body>
</html>
explorer style screen, I get a line of text with nothing
treeview-like about it at all.
Heres my code....
<html>
<body>
<form name="Form1" method="post"
action="webform2.aspx" id="Form1">
<input type="hidden" name="__Treeview1_State__" value="" />
<input type="hidden" name="__VIEWSTATE"
value="dDwxNjkzMTE3NDIyO3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDE+Oz47
bDx0PEAwPHA8cDxsPFNlbGVjdGVkTm9kZUluZGV4Oz47bDwwOz4+Oz47Ozs
7O0AwPDtAMDxsPGk8MD47PjtsPEAwPEAwPHA8bDxTZWxlY3RlZDs+O2w8bz
x0Pjs+Pjs7Ozs+Ozs+Oz47Pjs+Oz47Oz47Pj47Pj47bDxUcmVldmlldzE7P
j6WbtDyH//k5D37neLk1s9e8S6T+w==" />
<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS
IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
<tvns:treeview id="Treeview1" NAME="Treeview1"
selectedNodeIndex="0" HelperID="__Treeview1_State__"
systemImagesPath="/webctrl_client/1_0/treeimages/"
onexpand="javascript: if (this.clickedNodeIndex != null)
this.queueEvent('onexpand', this.clickedNodeIndex)"
oncollapse="javascript: if (this.clickedNodeIndex != null)
this.queueEvent('oncollapse', this.clickedNodeIndex)"
oncheck="javascript: if (this.clickedNodeIndex != null)
this.queueEvent('oncheck', this.clickedNodeIndex)"
onselectedindexchange="javascript: if
(event.oldTreeNodeIndex != event.newTreeNodeIndex)
this.queueEvent('onselectedindexchange',
event.oldTreeNodeIndex + ',' + event.newTreeNodeIndex)">
<tvns:treenode Selected="true">
My first Tree Node<tvns:treenode>
My second Tree Node
</tvns:treenode>
</tvns:treenode>
</tvns:treeview>
</form>
</body>
</html>