TreeView-Check Child Checkboxes

A

Andy Klare

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
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top