expand/collapsing node with load on demand

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

    Posted 25 Jan 2011 Link to this post

    Hello,

    I am able to load parent nodes with the appropriate child nodes, but am running into a problem when the parent node has no children (the web method/service returns zero items).  So, I drag a child node from another parent node and it is added properly - however when I collapse that parent node (the one that I just added a child node to) and expand it again, the child node I dragged from the other parent node disappears because the web method/service is called again.  Is there a workaround for this?

    Thanks in advance.
  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 27 Jan 2011 Link to this post

    Hello Tou,

    Could you, please, change the expand mode of the expanded node on ClientNodePopulated event to ClientSide?
    node.set_expandMode(0);


    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