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

Question about exception in busy indicator

1 Answer 18 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Ilaria
Top achievements
Rank 1
Ilaria asked on 30 Mar 2011, 10:04 AM
Hello, i've got a problem closing a RadTab, while we're waiting for the result of a WCF service.

We've got a user control in a RadTab that will contains the result of an async call to a WCF service. During the async call, we show a busy indicator.
 If I close the tab while the download of the data from the service is in progress, it returns an exception in the ...CompletedEvent.

Thanks a lot

1 Answer, 1 is accepted

Sort by
0
Teodor
Telerik team
answered on 01 Apr 2011, 03:35 PM
Hi Ilaria,

Thank you for contacting us.

You may encounter this if in the CompletedEvent handler you try to access a visual element (maybe the RadBusyIndicator?) from the Tab that has been closed. If this is the case, try not to access them or check them for null value before doing anything else. 

If the above is not your case, could you please send us some code extracts or a repro example so that we can better understand what your scenario is?

Let us know in case you need further help.

Regards,
Teodor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
BusyIndicator
Asked by
Ilaria
Top achievements
Rank 1
Answers by
Teodor
Telerik team
Share this question
or