LoadOnDemand clears Checkboxes

2 posts, 0 answers
  1. Michael
    Michael avatar
    6 posts
    Member since:
    May 2007

    Posted 08 Apr 2009 Link to this post

    I am using the ajax rad treeview control.  I am loading treeview nodes on-demand using the serversidecallback property.  The treeview control is in a radupdatepanel.  I am using checkboxes.  When a user expands a node I evaluate whether the node is checked or not in a BuildRADDeptNode Method.  If  it is checked then the new sub-nodes are checked as well.

    The problem is that no matter what the parent nodes state is when it is expanded it also gets passed to the event as a checked = false.  This is a real problem.


    protected void RadTree1_NodeExpand(object o,RadTreeNodeEventArgs e)




        RadTreeNode nodeClicked = e.Node;


        pnlDeptTree.Visible = true;  


    Please advise.



  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 10 Apr 2009 Link to this post

    Hi Michael Sheppard,

    I followed the article Inherit the the Checked state of the parent Node when loading Nodes on demand
    and the checked state was propagated to the child nodes.

    What is different in your case?

    Sincerely yours,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top