J
js
hi, I have .net 1.1 and 2.0 installed. now I try to modify a net 1.1
application,
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.
how to find out why and a fix, please help...
Heres my code....
<table style="BACKGROUND-COLOR: #ffffff">
<tr height='400' valign="top">
<td id="tdAdmin" colspan="2" valign="top">
<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
<tvns:treeview selectedNodeIndex="0" HelperID="___ctl0_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 Expanded="True" Selected="true"
ImageUrl="images/treeview/home.gif" ID="AdminHomePage">
Admin Home Test: <tvns:treenode Expanded="True"
ImageUrl="images/treeview/customers.gif" Target="doc">
Name/Address<tvns:treenode Expanded="True"
ImageUrl="images/treeview/user_plain.jpg">
Carrier<tvns:treenode Expanded="True"
NavigateUrl="admin_customer_edit.aspx?t=2"
ImageUrl="images/treeview/edit_customer.gif" Target="doc">
Add Carrier
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_customer_search.aspx?t=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Carrier Search (495)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/user_plain.jpg">
Customer<tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_customer_edit.aspx?t=4&b=2"
ImageUrl="images/treeview/edit_customer.gif" Target="doc">
Add Customer
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_customer_search.aspx?t=4&b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Customer Search (215)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_customer_edit.aspx?t=4&b=4"
ImageUrl="images/treeview/edit_customer.gif" Target="doc">
Add Customer
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_customer_search.aspx?t=4&b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Customer Search (21)
</tvns:treenode>
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/waybill.gif" Target="doc">
Airbill<tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_edit.aspx"
ImageUrl="images/treeview/waybill_add.gif" Target="doc">
Airbill Add Blank
</tvns:treenode><tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_search.aspx?b=2&a=y"
ImageUrl="images/treeview/search.gif" Target="doc">
Airbill Archive (222)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_search.aspx?b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Airbill Search (4)
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_search.aspx?b=4&a=y"
ImageUrl="images/treeview/search.gif" Target="doc">
Airbill Archive (280)
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/shipments.gif" Target="doc">
Active Shipments<tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_edit.aspx?t=0&b=2"
ImageUrl="images/treeview/edit_shipment.gif" Target="doc">
Active Shipments Add
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=0&b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Active Shipments Search (75)
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search_no_bill.aspx?b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Shipments Not Billed
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_edit.aspx?t=0&b=4"
ImageUrl="images/treeview/edit_shipment.gif" Target="doc">
Active Shipments Add
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=0&b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Active Shipments Search (78)
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search_no_bill.aspx?b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Shipments Not Billed
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/shipments.gif" Target="doc">
Archive Shipments<tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=1&b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Archive Shipments Search (1105)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=1&b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Archive Shipments Search (274)
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_report.aspx" ImageUrl="images/treeview/reports.gif"
Target="doc">
Reports
</tvns:treenode>
</tvns:treenode>
</tvns:treeview></td>
application,
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.
how to find out why and a fix, please help...
Heres my code....
<table style="BACKGROUND-COLOR: #ffffff">
<tr height='400' valign="top">
<td id="tdAdmin" colspan="2" valign="top">
<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
<tvns:treeview selectedNodeIndex="0" HelperID="___ctl0_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 Expanded="True" Selected="true"
ImageUrl="images/treeview/home.gif" ID="AdminHomePage">
Admin Home Test: <tvns:treenode Expanded="True"
ImageUrl="images/treeview/customers.gif" Target="doc">
Name/Address<tvns:treenode Expanded="True"
ImageUrl="images/treeview/user_plain.jpg">
Carrier<tvns:treenode Expanded="True"
NavigateUrl="admin_customer_edit.aspx?t=2"
ImageUrl="images/treeview/edit_customer.gif" Target="doc">
Add Carrier
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_customer_search.aspx?t=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Carrier Search (495)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/user_plain.jpg">
Customer<tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_customer_edit.aspx?t=4&b=2"
ImageUrl="images/treeview/edit_customer.gif" Target="doc">
Add Customer
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_customer_search.aspx?t=4&b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Customer Search (215)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_customer_edit.aspx?t=4&b=4"
ImageUrl="images/treeview/edit_customer.gif" Target="doc">
Add Customer
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_customer_search.aspx?t=4&b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Customer Search (21)
</tvns:treenode>
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/waybill.gif" Target="doc">
Airbill<tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_edit.aspx"
ImageUrl="images/treeview/waybill_add.gif" Target="doc">
Airbill Add Blank
</tvns:treenode><tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_search.aspx?b=2&a=y"
ImageUrl="images/treeview/search.gif" Target="doc">
Airbill Archive (222)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_search.aspx?b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Airbill Search (4)
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_waybill_search.aspx?b=4&a=y"
ImageUrl="images/treeview/search.gif" Target="doc">
Airbill Archive (280)
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/shipments.gif" Target="doc">
Active Shipments<tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_edit.aspx?t=0&b=2"
ImageUrl="images/treeview/edit_shipment.gif" Target="doc">
Active Shipments Add
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=0&b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Active Shipments Search (75)
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search_no_bill.aspx?b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Shipments Not Billed
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_edit.aspx?t=0&b=4"
ImageUrl="images/treeview/edit_shipment.gif" Target="doc">
Active Shipments Add
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=0&b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Active Shipments Search (78)
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search_no_bill.aspx?b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Shipments Not Billed
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
ImageUrl="images/treeview/shipments.gif" Target="doc">
Archive Shipments<tvns:treenode Expanded="True">
MCI<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=1&b=2"
ImageUrl="images/treeview/search.gif" Target="doc">
Archive Shipments Search (1105)
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True">
PHX<tvns:treenode Expanded="True"
NavigateUrl="admin_shipment_search.aspx?t=1&b=4"
ImageUrl="images/treeview/search.gif" Target="doc">
Archive Shipments Search (274)
</tvns:treenode>
</tvns:treenode>
</tvns:treenode><tvns:treenode Expanded="True"
NavigateUrl="admin_report.aspx" ImageUrl="images/treeview/reports.gif"
Target="doc">
Reports
</tvns:treenode>
</tvns:treenode>
</tvns:treeview></td>