Setting Indeterminate check state on Server side !!

4 posts, 0 answers
  1. Ravi Sanker
    Ravi  Sanker avatar
    6 posts
    Member since:
    Jun 2009

    Posted 13 Jul 2009 Link to this post

    Hi,


    Is it possible to set a node's checked state to indeterminate at server side (OnNodeExpand event) even if it doesn't have child nodes?

    Regards.
    itsvtk
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 14 Jul 2009 Link to this post

    Hi Ravi Sanker,

    It is possible, although the approach is not natural and looks like a hack.

    Please find it attached

    Best wishes,
    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.
  3. Ravi Sanker
    Ravi  Sanker avatar
    6 posts
    Member since:
    Jun 2009

    Posted 14 Jul 2009 Link to this post

    I don't think its a hack.  Its Perfect solution.  


    Thanks a lot for your quick response. 


    Keep it up...

    Thanks again,
    itsvtk
  4. Ravi Sanker
    Ravi  Sanker avatar
    6 posts
    Member since:
    Jun 2009

    Posted 14 Jul 2009 Link to this post

    Hello Veselin,

    Your code is working as expected. 

    Now the node has Indeterminate checkbox.  But the CheckState of the node is still showing Unchecked. 

    How to I change the state of the check box to Indeterminate?

    Regards,
    TK
Back to Top