Unable to get value of the property '_getHierarchicalIndex': object is null or undefined

2 posts, 0 answers
  1. Guy
    Guy avatar
    16 posts
    Member since:
    Mar 2012

    Posted 13 Feb 2014 Link to this post

    I am sometimes getting this error after removing a node from the TreeView using the following code client-side:


    I've read in another post they I should call trackChanges() before and commitChanges() after modifying the TreeView to have my changes persisted to the server:

    but I'm populating my TreeView entirely client-side in javascript (and don't need to have anything persisted to the server). I did try to call those methods as suggested but I still get the error.

    Thanks for your help!
  2. Plamen
    Plamen avatar
    2724 posts

    Posted 17 Feb 2014 Link to this post

    Hello Guy,

    We are not aware of such known issue but one thing that may be helpful is to check if the node you are trying to remove is in the nodes collection as in the code below:

    If it doesn't help please share the exact code to that will help us replicate the issue locally and be able to inspect it and find a possible solution.

    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top