RadChartView Series lost it's color after applied Theme

2 posts, 0 answers
  1. Karuppasamy
    Karuppasamy avatar
    4 posts
    Member since:
    Apr 2012

    Posted 25 Mar 2015 Link to this post

    RadChartView Series lost it's color after applied Theme.
    Please check attached screen shot.
    I was applied theme in SplashScreen (ThemeResolutionService.ApplicationThemeName = Office2010BlueTheme1.ThemeName)
  2. Dimitar
    Dimitar avatar
    2907 posts

    Posted 30 Mar 2015 Link to this post

    Hello Karuppasamy,

    Thank you for writing.

    Perhaps you are executing the splash form in a separate thread (like in our article: Add SplashScreen to your application). This can cause the incorrect behavior. This is why I will recommend you to initialize and apply the theme in the main thread. For example, if you are using the approach from our article, you can use the following code to load the theme:
    Telerik.WinControls.Themes.TelerikMetroTheme telerikMetroTheme1 = new Telerik.WinControls.Themes.TelerikMetroTheme();
    Thread splashThread = new Thread(new ThreadStart(
            splashForm = new Form_Splash();
            ((RadControl)splashForm.Controls[5]).ThemeName = telerikMetroTheme1.ThemeName;
    I hope this helps. Should you have any other questions do not hesitate to ask.


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

Back to Top