This is a migrated thread and some comments may be shown as answers.
tri state doesn't work properly
4 Answers 37 Views
This is a migrated thread and some comments may be shown as answers.
shai
Top achievements
Rank 1
shai asked on 21 Dec 2010, 12:34 PM

1. i have tree with about 4 levels
the first level i get from server code and the other
by webservice.

in the begining i just recieve
the first level
i know from advanced what is their checked property
some are:

  • 0 - Unchecked
  • 1 - Checked
  • 2 - Indeterminate
  • how can i set these values by code ,when the component can't make it itself
    , because it doesn't have childs yet (until i click on some of the first level and recive by webservice their childs. the second level)

    2. one more problem is that tri state doesn't work properly. example: one of the three childs isn't checked, the father of it, the second level is Indeterminate but the first level is Checked  instead of Indeterminate 

    4 Answers, 1 is accepted

    Sort by
    0
    Richard Slade
    Top achievements
    Rank 2
    answered on 21 Dec 2010, 12:48 PM
    Hello,

    I'm not sure I understand your first issue. Please can you explain in more detail.

    for the second one, this is how the tri-state mode works. If you have a Parent node, and 4 child nodes, then check one of hte child nodes and the parent node state is intermediate, showing that only some of the children are checked.

    Regards,
    Richard
    0
    shai
    Top achievements
    Rank 1
    answered on 21 Dec 2010, 05:12 PM
    explain problem 2:
    there a 3 levels
    in the third level there are some childs not all, its parent the second level is Indeterminate  and it is ok
    but the first level is , the grand father, is Checked  instead of Indeterminate 
    0
    Richard Slade
    Top achievements
    Rank 2
    answered on 21 Dec 2010, 06:11 PM
    Hello,

    At the moment I haven't been able to replicate this issue. Perhaps I have misunderstood. Please can you post a code sample using the Format Code block that will replicate this and I'll be happy to take a look at it for you
    Thanks
    Richard
    0
    Julian Benkov
    Telerik team
    answered on 27 Dec 2010, 05:06 PM
    Hello shai,

    I tested this scenario with RadTreeView and could not reproduce the issue. When updating a child node the parent and root parent are updated correctly to Indeterminate state - the representation is grey check mark when using the ControlDefault theme.

    If you continue to experience the issue please send us a simple project. This will help me to locate the issue and to find a proper solution. Thank you in advance.

    I am looking forward to your reply.

    Best wishes,
    Julian Benkov
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
    Asked by
    shai
    Top achievements
    Rank 1
    Answers by
    Richard Slade
    Top achievements
    Rank 2
    shai
    Top achievements
    Rank 1
    Julian Benkov
    Telerik team
    Share this question
    or