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. Advertisements

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:
    562
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Jan 13, 2006
  2. CViniciusM

    Treeview with Checkboxes.

    CViniciusM, Jan 14, 2004, in forum: C++
    Replies:
    1
    Views:
    617
    lallous
    Jan 14, 2004
  3. Jeff Rodriguez
    Replies:
    23
    Views:
    1,565
    David Schwartz
    Dec 9, 2003
  4. Replies:
    10
    Views:
    1,087
    Mark Rae
    Dec 5, 2006
  5. Dmitry Perets
    Replies:
    0
    Views:
    573
    Dmitry Perets
    Mar 20, 2007
  6. Dmitry Perets

    TreeView checkboxes AutoPostBack with AJAX

    Dmitry Perets, Mar 20, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    942
    bruce barker
    Mar 20, 2007
  7. Sylvie
    Replies:
    0
    Views:
    559
    Sylvie
    Oct 10, 2007
  8. Zarko Ursic

    Treeview and checkboxes problem

    Zarko Ursic, Feb 16, 2004, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    458
    Jeffrey Tan[MSFT]
    Feb 17, 2004
Loading...