Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > TreeView-Check Child Checkboxes

Thread Tools

TreeView-Check Child Checkboxes

Andy Klare
Posts: n/a
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?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with child text node when constraining other child node types Bryan Ax XML 6 05-17-2006 09:08 PM
restrict the value of one child based on value from another child leon XML 0 09-27-2005 03:32 PM
EJB: How to delete child entries from a parent-child CMR one-to-many relationship? davout Java 0 04-18-2004 07:02 PM
[HELP] Why the child window reopen a new child window ? bhchng ASP .Net 0 01-13-2004 07:17 AM
How do I: Main thread spawn child threads, which child processes...control those child processes? Jeff Rodriguez C Programming 23 12-09-2003 11:06 PM