Duplicating nodes on "Node expand" on not empty node after postback

3 posts, 1 answers
  1. Eugene
    Eugene avatar
    6 posts
    Member since:
    Sep 2008

    Posted 08 Oct 2008 Link to this post


    I'm trying to fill nodes on server on "On demand" mode. It works fine when my node has no children. But if it has children - they will be duplicated.

    Scenario: TreeView has node "Root" and child "Node1". I click on "+" near "Root". Server gets event. The event adds nothing. TreeView expands with 1 child. This works fine until postback. After postback "Root" has 2 children "Node1"!

    It looks like a bug or I'm doing somthing wrong.

    I wrote small function to remove duplicates each time on load but maybe there is a better way for me to prevent duplicate appearing? I'll appreciate any idea on this.

  2. Anthony
    Anthony avatar
    12 posts
    Member since:
    Jul 2008

    Posted 20 Nov 2008 Link to this post

    Our company is having a similar problem with the RadTreeView.

    1. We drag a root node to a drop target, and that event loads child nodes for the root, but does NOT expand the node.
    2. We then expand the root node, which displays the appropriate number of child nodes.
    3. We then drag the same root node tot he same drop target, and that event DOES NOT load the child nodes (the count is checked prior to loading), but there is now a duplicate number of child nodes under the root.
  3. Answer
    Paul avatar
    6 posts
    Member since:
    Nov 2008

    Posted 02 Dec 2008 Link to this post

    Anthony is a colleague of mine and I wanted to follow-up and say that updating to the latest telerik build (Version 2008.3.1105.20) fixed this issue for us.

Back to Top