Bug with TreeView

4 posts, 0 answers
  1. vincent
    vincent avatar
    61 posts
    Member since:
    Jun 2008

    Posted 05 Apr 2011 Link to this post

    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.
  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 07 Apr 2011 Link to this post

    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
  3. Mark
    Mark avatar
    1 posts
    Member since:
    Feb 2011

    Posted 04 Jul 2011 Link to this post

    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?
  4. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 07 Jul 2011 Link to this post

    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!

Back to Top