How Can I have a tree with checkboxes? what's the property I need to set to enable this?
Thanks
well, im sure im just plain stupid. I guess those 10+ years of developer experience means nothing when facing infragistics logic.
45 minutes spend and im giving up.
How do I apply checkboxes to my node and my children and siblings in one click on the mother node?
what do you mean by apply? how to check the checkboxes?
If so, get the node and set the checkstate of your UltraTreeNode
no... i found the checkbox thingy. But when i click the node i want all its children to autofill the same state as the node
the only way I found to do this is by recursively check all the child programmatically.
There's this article in the KB that might help (but it check the parent, if all childs are checked) : http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6703
I did a class that encapsulate that exact behavior, check the parent, it check all the childs, uncheck the child will put the parent to indetermine state, check all child => check the parent.
So I suggest that you make a class that derive from UltraTree and that implement that exact behavior and uses that class in your app.
hope it helps
Its just strange as the standard tree control has this implemented already :-(
I am not aware of any intrinsic support for this in the .NET TreeView control. If you like you can submit a feature request for the ability to control this in UltraTree via a property setting.