Parent node always checked in NodeCheck event handler when using TriStateCheckboxes?

2 posts, 0 answers
  1. Minnow
    Minnow avatar
    1 posts
    Member since:
    Dec 2010

    Posted 07 Dec 2010 Link to this post

    Want to make sure I understand how this is supposed to work.

    When my RadTreeView is not configured to use TSCB, on postback, in the NodeCheck  event handler, e.Node.Checked returns the new value of the check state (true if checked, false otherwise).   If true == e.Node.Checked, I check all child nodes;  if not checked, I uncheck all child nodes.

    However, when I enable TSCB, on postback, in the NodeCheck event handler, e.Node.Checked is always true, even if the node was already checked and the event fired because I unchecked it.

    What am I missing?

  2. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 10 Dec 2010 Link to this post

    Hello Minnow,

    I was not able to reproduce the problem you experience. In my test-case it was always the new value with or without TSCB.

    Could you, please, share some code reproducing the issue that you illustrate?

    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