tri state doesn't work properly

2 posts, 0 answers
  1. shai
    shai avatar
    5 posts
    Member since:
    Nov 2010

    Posted 21 Dec 2010 Link to this post

    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:

  2. 0 - Unchecked
  3. 1 - Checked
  4. 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 

  • Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 23 Dec 2010 Link to this post

    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.
  • Back to Top