Setting Application theme overrides custom pallete brushes in RadChart

6 posts, 0 answers
  1. Nadav
    Nadav avatar
    15 posts
    Member since:
    Sep 2010

    Posted 21 Feb 2011 Link to this post

    I've trying the telerik silverlight controls and I've ran into a problem:

    I've got a Pie chart where I've manually set the pallete colors (in code).

    It was working fine, until I've set the ApplicationTheme.
    Now instead of seeing the custom colors I've set, I'm seeing the colors from the themes :(

    This looks like a bug to me, if I set the pallete then it should override the application defaults...

    Has anybody ran across this problem or something like it?

    Thanks,

    Nadfav
  2. Sia
    Admin
    Sia avatar
    745 posts

    Posted 24 Feb 2011 Link to this post

    Hi Nadav,

    I have tested your scenario and it works as expected on my end. Can you please tell us which is your version and which theme you use in your application.
    Please check whether you set the theme before InitializeComponent(); as described here and whether you have reference to the desired theme.

    All the best,
    Sia
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. Nadav
    Nadav avatar
    15 posts
    Member since:
    Sep 2010

    Posted 24 Feb 2011 Link to this post

    Hi Sia,

    the Version of the Telerik I've installed is  elerik_Ultimate_Collection_2010_3_1216_Trial.
    I don't think I installed any updated (How do I see what version of the telerik controls I've got installed?
    Telerik/About in VS2010 does not show the version..)

    I've set the application theme to Windows7 BEFORE calling the InitializeComponent() on the application project,
    And yes I do have a reference to the theme.

    I'll see if I can reproduce the problem in a small project.

    Nadav
  4. Nadav
    Nadav avatar
    15 posts
    Member since:
    Sep 2010

    Posted 24 Feb 2011 Link to this post

    Hi Sia,

    I've creating a simple project reproducing the problem, but it seems I can't attach zip files.

    Is there some way for me to send you the project files?

    Thanks,

    Nadav
  5. Sia
    Admin
    Sia avatar
    745 posts

    Posted 24 Feb 2011 Link to this post

    Hi Nadav,

    Unfortunately we have such known issue with Windows 7 and it is already included in our planning. As a temporary workaround I can suggest you to set different theme to the RadChart control.

    Regards,
    Sia
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  6. Nadav
    Nadav avatar
    15 posts
    Member since:
    Sep 2010

    Posted 24 Feb 2011 Link to this post

    OK, I'll do that.
    (Actually I was already thinking about using another theme because I didn't like the way the TabControl looked in Windows7 :) )

    Thanks,

    Nadav
Back to Top