Docking Float Unload

4 posts, 0 answers
  1. Kirk
    Kirk avatar
    28 posts
    Member since:
    Jun 2012

    Posted 23 Nov 2011 Link to this post

    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?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 25 Nov 2011 Link to this post

    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 >>
  3. DevCraft banner
  4. Kirk
    Kirk avatar
    28 posts
    Member since:
    Jun 2012

    Posted 25 Nov 2011 Link to this post

    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.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 29 Nov 2011 Link to this post

    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 >>
Back to Top