TreeView-Check Child Checkboxes

Discussion in 'ASP .Net Web Controls' started by Andy Klare, Apr 27, 2007.

  1. Andy Klare

    Andy Klare Guest

    I am looking for a way to check child nodes in a TreeView if the parent is
    checked. There does not appear to be a good way to do this on the server or
    client. TreeView Client controls do not contain enough info to do this and
    there is no AutoPostBack for the TreeView checkboxes to check ChildNodes
    when a checkbox is clicked.

    I am using OnSelectedChanged to check the boxes but if the user clicks the
    checkbox then the children are not checked. I also cannot find a way to
    simply disable the checkboxes and just use them in the UI for a checked
    flag. I am also not having luck overriding the image to make it not look
    like a checkable checkbox.

    Any ideas?
    Andy
     
    Andy Klare, Apr 27, 2007
    #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. =?Utf-8?B?TWFyaw==?=

    Block tooltips in Treeview's checkboxes

    =?Utf-8?B?TWFyaw==?=, Jan 13, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    510
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Jan 13, 2006
  2. CViniciusM

    Treeview with Checkboxes.

    CViniciusM, Jan 14, 2004, in forum: C++
    Replies:
    1
    Views:
    551
    lallous
    Jan 14, 2004
  3. Jeff Rodriguez
    Replies:
    23
    Views:
    1,210
    David Schwartz
    Dec 9, 2003
  4. Replies:
    10
    Views:
    941
    Mark Rae
    Dec 5, 2006
  5. Dmitry Perets
    Replies:
    0
    Views:
    509
    Dmitry Perets
    Mar 20, 2007
Loading...

Share This Page