This is a migrated thread and some comments may be shown as answers.

'this._backupCollapsedNodes[...]' is null or not an object

10 Answers 86 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 20 Nov 2008, 04:22 PM
Hi,
I am getting the following JScript Error when dropping an node on another one.
Microsoft JScript runtime error: 'this._backupCollapsedNodes[...]' is null or not an object

Any Idea?

Thanx

[Update]
This only happens, when the node wich is dragged is empty. If the dragged node contains childnodes, the error does not occur.
I am using the newest release of the controls.

10 Answers, 1 is accepted

Sort by
0
Christian
Top achievements
Rank 1
answered on 21 Nov 2008, 06:39 AM
Hi,
one more addition. It looks like the error occurs when inserting the node clientside: destinationNode.get_nodes().add(sourceNode);
0
Christian
Top achievements
Rank 1
answered on 25 Nov 2008, 08:31 AM
Hello Admins,

do you have any idea to solve this issue?
I am really helpless about this.

Thank you
Christian
0
Dimitar Milushev
Telerik team
answered on 25 Nov 2008, 12:00 PM
Hi Christian,

Please excuse me for the delayed response.

The described problem is fixed in the next RadControls Service Pack that will be released this week. I am sorry for the inconvenience.

Best wishes,
Dimitar Milushev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christian
Top achievements
Rank 1
answered on 25 Nov 2008, 02:32 PM
Thank you very much.
Great support.

0
Christian
Top achievements
Rank 1
answered on 26 Nov 2008, 02:14 PM
Hi,
I just updated to Version 2008.3.1125.35 but the Error still occurs.
Hmm..
0
Dimitar Milushev
Telerik team
answered on 26 Nov 2008, 03:30 PM
Hi Christian,

This is very strange as we fixed a problem that matches the description you provided. Can you please open a support ticket and send us a project that reproduces the issue so we can debug it locally? That would greatly aid us in resolving this issue quickly.

All the best,
Dimitar Milushev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mallverkstan
Top achievements
Rank 2
answered on 02 Jan 2009, 03:36 PM
Hi,  has this been resolved? I am getting the same error. I am using version 2008.3.1125.20 (can't find a version 2008.3.1125.35?).

It happens after I expand a node, then unexpand it, and then move it to somewhere.

It might be because I have this function:
function ClientNodeCollapsed(sender, eventArgs) {   
    var node = eventArgs.get_node();
    tree.trackChanges();    
    node.set_expandMode(Telerik.Web.UI.TreeNodeExpandMode.ServerSideCallBack);
    node.get_nodes().clear();
    tree.commitChanges();
 [...]
}
All my nodes are ServerSideCallBack because they have to constantly check for changes.

Would appreciate a way around the error
Thanks,
Fredrik
0
Atanas Korchev
Telerik team
answered on 02 Jan 2009, 03:38 PM
Hello Mallverkstan,

Please open a support ticket and we will send you the hotfix.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christian
Top achievements
Rank 1
answered on 02 Jan 2009, 08:23 PM
after installing version 2008.3.1314.35 it works perfect.
0
Shane
Top achievements
Rank 1
answered on 21 Sep 2012, 01:15 AM
The operation I am performing:  client side refresh node using AJAX to RadXmlHttpPanel

I just upgraded to version 2012.2.912 and I am now getting "'this._backupCollapsedNodes[...]' is null or not an object" error randomly when I try to refresh a node (remove all children, call back to server to get child nodes and then add them to the tree). 

I was getting "Unable to get value of the property '_getHierarchicalIndex': object is null or undefined" when refreshing the node for which I have not yet seen a response from Telerik that it is fixed so I ended up with a workaround where if I catch that exception, I retry the operation and it always succeeds.


Tags
TreeView
Asked by
Christian
Top achievements
Rank 1
Answers by
Christian
Top achievements
Rank 1
Dimitar Milushev
Telerik team
Mallverkstan
Top achievements
Rank 2
Atanas Korchev
Telerik team
Shane
Top achievements
Rank 1
Share this question
or