This is a migrated thread and some comments may be shown as answers.

Docking Float Unload

3 Answers 56 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Kirk
Top achievements
Rank 1
Kirk asked on 23 Nov 2011, 11:12 PM
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

Sort by
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 >>
0
Kirk
Top achievements
Rank 1
answered on 25 Nov 2011, 09:20 PM
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 >>
Tags
Docking
Asked by
Kirk
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Kirk
Top achievements
Rank 1
Share this question
or