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

IsContentPreserved With BackgroundWorker

1 Answer 44 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Jonah
Top achievements
Rank 1
Jonah asked on 08 Apr 2015, 10:21 PM

I have a situation where I am trying to add items to a collection from a background thread. The collection is bound to a RadTabControl. When I add the items through the UI thread I have no issues. When I do it from a backgroundworker the current tabs will all lose focus on whatever selected items they had.

Is there another option to show a busy indicator without having to use a background worker?

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 13 Apr 2015, 11:16 AM
Hi Jonah,

The RadTabControl is a UI control and all interactions with it should happen on the UI thread only. We think it is very unsafe to use a thread other than than the UI thread to modify the tab control. Let us know if you have any other questions.

Regards,
Petar Marchev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
TabControl
Asked by
Jonah
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or