Adding new node

2 posts, 1 answers
  1. Sampada
    Sampada avatar
    44 posts
    Member since:
    Feb 2012

    Posted 20 Jun 2012 Link to this post

    I am using radtree having around 1000 nodes with different hierarchy.

    I have added this tree under rad splitter and set pan height according to contain.

    There is only 1 root node under root node all the nodes are getting added.

    I have referred

    demo to add context menu for adding nodes in the tree.

    Whenever I add the node in between of the tree nodes focus of the screen redirected to newly created node.

    But when I am adding node in root node the focus is not going at the end of the screen on newly created node.

    So to name it I have to scroll down to that node & have to rename it.

    Can you please let me know why it is behaving this way?

    Is there any fix for it?
    Thanks in advance

  2. Answer
    Plamen avatar
    2723 posts

    Posted 25 Jun 2012 Link to this post

    Hi Sampada,

    You can use the scrollIntoView property of RadTreeNode in order to scroll to it after you add it. You can also refer to this help article that explains how to add a node in edit mode by Default.
    Hope this will be helpful.

    All the best,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top