I've experienced some tests with the
() and LoadXmlString
They're working great, when you're able to store a complete tree.
Now I need a little bit mor help:
To improve cachinng, I want to cache my TreeRootNodes, which are created with theire own definitions.
Differen users could see different RootNodes, so I can't cache the entire tree.
In fact, TreeNodes don't have a GetXml() method, I've experienced with a litle work a round.
I've create a second Treeview called "CacheTree". After creating so RootNode (with all its Subnodes)
I'm storing this Node by its own in the CacheTree and store its XML with the GetXml() method.
My problem now is to restore that XML back to the RootNode Object.
"CachingTime").Value = Now
"CachedTree").Value = CacheTree.GetXml()
2. Load Cached Value
---- Here's my Problem ----
MasterNode = CacheTree.GetAllNodes
Now MasterNode contains only the top-Level Node, all Subnodes are missing.
What am I supposed to do?