[quote="burlmd"]I am having a similar problem. I have a flytreeview and an update panel on a page. When the page loads, nodes are programatically added to the flytreeview in the OnInit event. (NOTE: The flytreeview is NOT inside the UpdatePanel) When the UpdatePanel posts back to the page, I get the following error:
NullReferenceException: Cannot find node (n35oak1s) in the treeview hierarchy that should handle client-side event: _5S
Another thing to note is that when the page posts back, I am rebuilding the flytreeview in the OnInit. I have tried a number of different combinations ... not rebuilding when IsPostBack is true, moving the rebuilding function to the OnLoad, etc. However, the error still exists.
It bombs right after the OnInit finishes and before the OnLoad, so it seems that the control is not loading the view state data?
Any help is greatly appreciated.
Thanks,
Mark
Nevermind. I found my mistake. I had previously disabled the ViewState for the entire page! Now, it works a lot better ...