how disable treeview checkbox?

J

justin

my code is here:
i need diable the check box. not hide it, can anyone tell how i can do it?

thanks a lot

justin

HTML FILE Default.htm
---------------------------------------------
<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="/webctrl_client/1_0/treeview.htc"
/>
<tvns:treeview id="TreeView1" treenodesrc="../xml/sitemap.xml"
target="MainList" selectedNodeIndex="0" HelperID="__ModuleTree_State__"
systemImagesPath="/webctrl_client/1_0/treeimages/" selectExpands="false"
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)"
style="height:105%;width:164px;">
</tvns:treeview>


sitemap.xml
-----------------------------------------------
<?xml version="1.0" encoding="GB2312"?>
<!-- edited by justin, User.queryEmplModuls() -->
<TREENODES>
<treenode Text="myCompany" CheckBox="True" Checked="True" Expanded="True"
NodeData="Labweb" NavigateUrl="http://www.zhifang.com.cn"
ImageUrl="/Labweb/Admin/images/icons/0000_b.gif"
ExpandedImageUrl1="/Labweb/image/logo.jpg"
DefaultStyle="/Labweb/template/company.xml">
</treenode>
</TREENODES>


£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top