Hello,
I am playing with the treeview control and trying to get it to load on demand with a webservice, (Which I have working)
however, I am now trying to capture the onNodeClick server side event. Upin Clicking a node, I receive an "Object reference not set to an instance of an object." Error with the following stack trace:
The treeview is contained in a WebUserControl. Has anyone else seen this problem before?
I had this working with the ASP.Net treeview, but it's too slow, so I want to get the telerik control working.
I am playing with the treeview control and trying to get it to load on demand with a webservice, (Which I have working)
however, I am now trying to capture the onNodeClick server side event. Upin Clicking a node, I receive an "Object reference not set to an instance of an object." Error with the following stack trace:
[NullReferenceException: Object reference not set to an instance of an object.] Telerik.Web.UI.ControlItem.LoadFromDictionary(IDictionary`2 dictionary) +165 Telerik.Web.UI.NavigationItem.LoadFromDictionary(IDictionary`2 dictionary) +31 Telerik.Web.UI.RadTreeNode.LoadFromDictionary(IDictionary`2 dictionary) +32 Telerik.Web.UI.ClientStateLogPlayer.Insert(ClientStateLogEntry entry) +179 Telerik.Web.UI.ClientStateLogPlayer.Play(ClientStateLogEntry entry) +65 Telerik.Web.UI.ClientStateLogPlayer.Play(IEnumerable`1 clientStateLogEntry) +94 Telerik.Web.UI.RadTreeView.LoadLogEntries(TreeViewClientState clientState) +78 Telerik.Web.UI.RadTreeView.LoadClientState(TreeViewClientState clientState) +47 Telerik.Web.UI.RadTreeView.LoadPostData(String postDataKey, NameValueCollection postCollection) +141 Telerik.Web.UI.RadDataBoundControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +36 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +661 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1194
The treeview is contained in a WebUserControl. Has anyone else seen this problem before?
I had this working with the ASP.Net treeview, but it's too slow, so I want to get the telerik control working.