Home - Forums-.NET - FlyTreeView (ASP.NET) - TreeViiew Nodes disappear when Back button is clicked

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

TreeViiew Nodes disappear when Back button is clicked
Link Posted: 20-Jul-2006 07:05
Hi there,

I was wondering if you could help me out with regards to a specific problem that I am encountering...

I am using the flyTreeView control to display people in an organization. Initially, whenever the user searches for some details of a specific person in a page, the treeview shows the structure correctly. But, if the user clicks the back button, do something, then return to the initial employee details page, the flytreeview does not load the nodes the way it was displayed before.

Is there a workaround that I could use to prevent this from happening everytime the user clicks the back or forward button?

I am using load-on-demand nodes for the treeview control.

Thanks a million!
Link Posted: 23-Jul-2006 07:47
There was a technique somewhere in web.

The main idea is that you should have a hidden iframe somewehere in your page, that you should make to change its SRC property when you need to save page's state to browsers history.