I am using PopupManager class for opening and closing a
The problem I am facing is that, once I close the popup and
reopen it, whatever action I did when I opened the popup for the
first time is lost.
I have a tree control inside the popup, when I navigate
through the tree nodes, close the popup and then reopen popup, the
tree opens in its initial state instead of showing the nodes
through which I navigated.
Is there some other way for opening/closing of popup or is
there some trick in PopupManager class to maintain previous state
I suppose you could create a state manager but the way
typically do it is to save the openItems of the tree before closing
the popup, saving that array in a variable, and reopening the nodes
to the previous state on the next popup. Here are a couple posts
that would help.