When I am using the CheckState=TriStateMode.Indeterminate, all works fine when I check and uncheck.
But when I call CollapseAll or ExpandAll, all parents that have a Indeterminate check get removed.
This is easily replicable. Is there a workaround?
6 Answers, 1 is accepted
Thank you for writing.
Following the provided information, I was unable to reproduce the issue you are facing. Please refer to the attached gif file illustrating the behavior on my end with the specified version. Am I missing something? I have attached my sample project. Could you please specify the exact steps how to reproduce the problem? Thank you in advance.
I am looking forward to your reply.
Regards,
Dess
Progress Telerik
The difference between mine and yours is my hierarchy went a few levels deeper.
for example I had:
-
Site
-
Child site-A
-
Child-child –A
-
Child-child-b
-
-
Thank you for writing back.
The provided explanation is greatly appreciated. Your initial explanation was also clear enough. I have updated my sample project to include one level deeper in the nodes. It still works as expected on my end. Please refer to the attached gif file illustrating the behavior on my end with the latest version. Am I missing something? Is the issue reproducible with my project on your end? If yes, please specify in details the exact steps that I need to perform in order to replicate it. Otherwise, feel free to submit a support ticket where you can provide a sample project and a video illustrating the undesired behavior. Thank you in advance.
I am looking forward to your reply.
Regards,
Dess
Progress Telerik
Your example works, but I cannot quite get it to work on mine. In fact when I use the treeview.BeginUpdate/EndUpdate as you did, I get unusual behavior. It works better when I don't use those. I am also setting tooltips and populating the Tag Property.
I'll play with some more but If I cannot get this to work with just this trivial stuff, I'll just give up on it and move to something else.
Thank you anyway.
Indeed, the project my colleague attached is working as expected. It appears that the issue observed in your application might be related to some of your local settings and set up. In case you keep experiencing it, please open a support ticket and attach your project demonstrating the issue. This way could test it locally and see what is causing the behavior you describe.
Let me know if you have other questions.
Regards,
Hristo
Progress Telerik