Question about exception in busy indicator

2 posts, 0 answers
  1. Ilaria
    Ilaria avatar
    3 posts
    Member since:
    Jan 2011

    Posted 30 Mar 2011 Link to this post

    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
  2. Teodor
    Teodor avatar
    501 posts

    Posted 01 Apr 2011 Link to this post

    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.

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