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

Bug with TreeView

3 Answers 90 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
vincent
Top achievements
Rank 1
vincent asked on 05 Apr 2011, 02:12 PM
Please see the code below for the bug with clicking on a checkbox in the RadTreeView.

<telerik:RadTreeView ID="RadTreeView1" runat="server" Width="700px" 
    CheckBoxes="true" CheckChildNodes="false" TriStateCheckBoxes="true">
    <DataBindings>
        <telerik:RadTreeNodeBinding/>
    </DataBindings>
</telerik:RadTreeView>

Sample tree data:

Node 0
--Node 1.1
----Node 2.1
----Node 2.2

The bug is that when I click to check the Node 1.1, it does not show that Node 1.1 is checked. How to I fix this issue? 

I'm currently using Telerik RadControls for ASP.NET Ajax version 2010.2.929.35.

3 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 07 Apr 2011, 05:04 PM
Hello vincent,

Please, try using the newest version of our controls and let me know if you still experience the issue.
Also, the CheckChildNodes is always considered true when using the TriStateCheckBoxes.


Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mark
Top achievements
Rank 1
answered on 04 Jul 2011, 07:29 PM
The Tri-State-Behavior Table http://www.telerik.com/help/aspnet-ajax/treeview-tri-state-checkboxes-behavior-table.html shows that when you have TriStateCheckBoxes="true" and CheckChildNodes="false", clicking a node's checkbox does not change the checked state for the child nodes.

Is this behavior a bug or is the documentation wrong?
0
Nikolay Tsenkov
Telerik team
answered on 07 Jul 2011, 08:52 AM
Hello Mark,

This is outdated help documentation, indeed.
Thank you for reporting this to our team.

I will log it for an update and such will be provided soon after the upcoming release (Q2 2011).

The CheckChildNodes is always true when Tri-State Checkboxes are enabled.


Regards,
Nikolay Tsenkov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
TreeView
Asked by
vincent
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Mark
Top achievements
Rank 1
Share this question
or