Posted
on Oct 7, 2011
(permalink)
Okay, I see that shift/click multi-select has been implemented. Works fine until I implement the OnNodeClick event in the RadTreeView. Then I get the following javascript error at line 5851: "Microsoft JScript runtime error: Unable to get value of the property '_getHierarchicalIndex': object is null or undefined"
I have a two RadTreeViews and a RadGrid. When a Node is selected, I call the OnNodeClick event is called to load data into the grid related to the selected node. Another feature is the user can drag the node from RadTreeView1 to RadTreeView2. Either a single Node or multiple Nodes. Using Alt/Click to select multiple nodes works fine. It appears that the OnNodeClick event is not called Using Shift/Click to select multiple nodes, however, throws the above javascript. It appears to me that the OnNodeClick event is being called when it shouldn't be. When I remove the OnNodeClick event, shif/click works. I've tried just doing a 'return' in the OnNodeClick method error occurs, so it's not somethin in the code that loads the Grid.
Any suggestions on how I can prevent this from happening?