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

Loading theme at runtime taking much time

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ruth
Top achievements
Rank 1
Ruth asked on 20 Nov 2013, 09:20 AM
Hi all,

In my application i am using the themes concept to load at runtime am able to do that,when changing from one theme to the other its taking much time i want to show some progress bar or busy indicator till the theme is loaded how can i achieve this scenario?

Thanks in Advance
Ruth

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 25 Nov 2013, 12:48 PM
Hello,

In the current version of RadControls when changing the theme of the controls at runtime it is not possible to show for example RadBusyIndicator as the UI thread is undergoing heavy operations and is frozen. Like any UI control the RadBusyIndicator control is rendered in the UI and if that thread is frozen the control will not show.

From our tests we noticed that changing the themes at runtime with the described in this article approach results in less them a second duration. If that behavior is not suitable for you, you could try to implement a custom implementation that will open a Popup or a Window above the controls which theme is being changed that shows a message which notifies the user that the theme has been changed. With such approach it is possible to achieve a more smooth transition. Hope this is helpful.

Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Ruth
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or