Hi,
My application need to populate a treeview with the first 2 levels of the hierarchy when I get in to the page.
In my code behind I populated the treeview with the first node and the second node as a child of the first.
For both nodes I set ExpandMode.WebService, so I can have better performance then the ServerSide when people expand the nodes. (The treeview could very big)
The problem is that when I try to collapse the first node it doesn't collapse (even if it fire the client side OnNodeCollapsing event) and if I try to click the node again it contact the WebService but it isn't able to restore the right behavior raising this JS error
'this._element' is null or not an object.
Can you help me?
There is no way to sharing Server Side creation of the nodes and WebService expand behavior?
My application need to populate a treeview with the first 2 levels of the hierarchy when I get in to the page.
In my code behind I populated the treeview with the first node and the second node as a child of the first.
For both nodes I set ExpandMode.WebService, so I can have better performance then the ServerSide when people expand the nodes. (The treeview could very big)
The problem is that when I try to collapse the first node it doesn't collapse (even if it fire the client side OnNodeCollapsing event) and if I try to click the node again it contact the WebService but it isn't able to restore the right behavior raising this JS error
'this._element' is null or not an object.
Can you help me?
There is no way to sharing Server Side creation of the nodes and WebService expand behavior?