Is there any way to keep things from unloading when a pane is undocked?
If this is not possible is there anyway to see that a pane is being undocked and take actions before the contents are unloaded?
3 Answers, 1 is accepted
0
Konstantina
Telerik team
answered on 25 Nov 2011, 02:33 PM
Hi Kirk,
I am afraid, there is no way to stop the reloading. However, you can hook to the PaneStateChange event of the Docking control, which fires every time the state of the pane is changed - docked, floating, pin, unpin, etc.
Hope this info helps.
Greetings,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I did see the PaneStateChange event. The problem is this event is called after pane is unloaded. I really need to find a way to tell before the pane is unloaded that it is about to unload.
0
Konstantina
Telerik team
answered on 29 Nov 2011, 03:49 PM
Hi Kirk,
Instead Unloaded event of the content of the Pane, I am afraid there is no other suitable event in this situation. There are also some preview events, which I am not sure that are going to work for you, like PreviewPin, PreviewClose, PreviewUnpin. You can check them out also.
Regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>