This is a migrated thread and some comments may be shown as answers.

Checkbox enabled parent node with both checkbox enabled and disabled child nodes

2 Answers 76 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mark Brown
Top achievements
Rank 2
Mark Brown asked on 31 Dec 2008, 04:43 PM
I have created a run-time tree that consists of a parent node with a checkbox and child nodes, some  have checkboxes and some do not.  I have set the checkboxes as tri state.

So it looks like this(although the check boxes did not copy over, there is a checkbox on first dvrs, channel 1 and channel 2.  Channels 3-5 do not have check boxes):

first dvrs
  • THIS IS Channel 1
  • this is channel 2
  • Unassigned Channel 3
  • Unassigned Channel 4
  • Unassigned Channel 5

 

The three unassigned channels do not have checkboxes, the first two do, and the parent "first dvrs" also has a checkbox.

If I check the checkboxes for channel 1 and 2, the parent sets to indeterminate.  That is because the last 3 channels have no checkbox and cannot be selected(and I don't want them to be, becuase they are unassigned).

Is there a way to get the parent to only react to the state of the child nodes that have check boxes and to ignore the state of the child nodes that do not have checkboxes?

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jan 2009, 03:39 PM
Hi Mark Brown,

I have verified this bug. Please open a support ticket and we will send you a hotfix build. I have updated your telerik points.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark Brown
Top achievements
Rank 2
answered on 06 Jan 2009, 02:55 PM
Thank you, the hotfix that I got today took care of this problem.
Tags
TreeView
Asked by
Mark Brown
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Mark Brown
Top achievements
Rank 2
Share this question
or