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

Detecting when a RadPane is visible or active?

1 Answer 151 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Toga
Top achievements
Rank 2
Toga asked on 05 Aug 2011, 06:57 PM
Hi all, I have Docking with different RadPane in it. Each RadPane have different functionality that spawns a worker thread to get information, I would like to be able to stop the worker thread if the RadPane is not visible. 

I cannot seem to find an event that I can attached to watch this behavior. Any suggestions? I tried watching loading, unloading of rad pane but that does not work since switching tabs in the docked state does not trigger these events.

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 09 Aug 2011, 01:42 PM
Hi Toga,

You can use the ActivePaneChanged event which fires when the active pane is changed.

Hope this helps.

Regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
Docking
Asked by
Toga
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Share this question
or