fastest way to remove nodes on the client side

2 posts, 0 answers
  1. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 03 May 2012 Link to this post

    what is the fastest way to remove nodes on the client side? I am using 
    to get this functionality, but it looks to take comparatively more time, like to remove 200 nodes it takes around 2-3 seconds. Is there any other efficient method/way to achieve this.
  2. Plamen
    Plamen avatar
    3057 posts

    Posted 04 May 2012 Link to this post

    Hi Mirang,

    Unfortunately there is no such inbuilt method and in browsers with slower javascript handling this behavior takes some time. If you want to remove all the child nodes you can use "clear()" function of NodeCollection object that is executed immediately.

    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.
Back to Top