how disable treeview checkbox?

Discussion in 'ASP .Net Web Controls' started by justin, Apr 13, 2005.

  1. justin

    justin Guest

    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>


    £­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
     
    justin, Apr 13, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kekec
    Replies:
    2
    Views:
    926
    Kekec
    Feb 12, 2004
  2. Chip
    Replies:
    1
    Views:
    625
    Scott Mitchell [MVP]
    Feb 26, 2004
  3. =?Utf-8?B?U3RldmUgV29uZGVyZnVs?=

    Change disable color of a checkbox list

    =?Utf-8?B?U3RldmUgV29uZGVyZnVs?=, Nov 11, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    5,503
    =?Utf-8?B?dGlta2xpbmc=?=
    Nov 12, 2005
  4. Vikram

    disable checkbox list checkbox

    Vikram, Jan 25, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,433
    ThunderMusic
    Jan 25, 2006
  5. Replies:
    0
    Views:
    626
Loading...

Share This Page