>Moving the TreeView to a single page so far the above works.
>
>The problems I have hit so far is that when I select a node to view the
>related content, the content is displayed, but the TreeView re-sets
>itself.
>
>
You can just put it in a table on the page. Actually will be easier than
framesets.
You'll need to remember where you were (the nodeID or whatever you use
to build your tree), perhaps in the query string, and then when in
page_load call a method to populate the tree based on the selected node
index and expand down to that level. You could save the contents of the
tree nodes in a session or whatever you like but then do the expansion
on page load.
Look at Treenav properties/methods SelectedNodeIndex, Expanded, and
GetNodeIndex(). You can write a recursive function to expand to the
level you need. If you get a flashing behavior, it may be due to an
autopostback setting. Try setting autopostback="false" in your aspx.
This control uses client-side behaviors. Have no idea what it looks like
in other browsers, so you may need to consider that, perhaps by looking
at down-level browser settings.
Mary Smith Greene
Software Consultant