Loading theme at runtime taking much time

2 posts, 0 answers
  1. Ruth
    Ruth avatar
    7 posts
    Member since:
    Sep 2013

    Posted 20 Nov 2013 Link to this post

    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
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 25 Nov 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top