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

tri state doesn't work properly

1 Answer 25 Views
TreeView
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:36 PM

Posted 0 minutes ago (permalink)

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 

  • 1 Answer, 1 is accepted

    Sort by
    0
    Nikolay Tsenkov
    Telerik team
    answered on 23 Dec 2010, 04:09 PM
    Hi shai,

    "how can i set these values by code":
     - You can not set it programmatically. This property is read-only. It's been calculated based on the entire branch that the node starts.

    "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"
     - Please, post an example that will reproduce the problem along with step-by-step procedure to reproduce.


    Regards,
    Nikolay Tsenkov
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
    Tags
    TreeView
    Asked by
    shai
    Top achievements
    Rank 1
    Answers by
    Nikolay Tsenkov
    Telerik team
    Share this question
    or