Prevent Tristate from propagating from Node

2 posts, 0 answers
  1. Aayam
    Aayam avatar
    19 posts
    Member since:
    Dec 2007

    Posted 09 Jun 2009 Link to this post

    Hi Experts,

    I have a Treeview with tristate property enabled.
    The treeview has a node at third level which in only enabled and checked currently.This node also has child with expand mode as server side callback.
    When i expand the node all the sub nodes are also checked using my custom javacsript.I could have used CheckChildNodes property of treeview but there are some cases which cannot be handled using it.
    Now when i uncheck any of the sub node of it the Tristate goes on all the parents of that nodes which are disabled.
    I want to prevent this behavior and what the tristate should propagate to only parent nodes that are currently enables.

    Thanks for you help in advance.

  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 12 Jun 2009 Link to this post

    Hi Aayam,

    This behavior is by design - the tristate checkboxes work with enabled and disabled nodes.

    Kind regards,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top