AutomaticColor Issue

2 posts, 1 answers
  1. Fábio Witt jagnow
    Fábio Witt jagnow avatar
    14 posts
    Member since:
    Mar 2010

    Posted 19 Jul 2011 Link to this post

    Hey..

    In the application that i'm developing, i'm using the ColorPicker and i needed to use the Color Transparent. Since i didn't knew how i could achieve that, i searched here in the forum and found this thread, that is very similar to my case.
    http://www.telerik.com/community/forums/silverlight/colorpicker/selectedcolor-doesn-t-update-ui.aspx

    I've downloaded the example and i saw that the AutomaticColor property wasn't working declaratively in the xaml. I realized it was made in an old build. Then i updated the references to the lastest build.. It worked fine...

    After that, i tried to do the same on my application but it not worked as i expected, not even in the codebehind. Then i went to see what was different between my code and the one in the example, the only thing that i found was the Expression_Dark theme that i was using. I added the reference to the Expression_Dark theme on the example project, changed the ColorPicker to change the style to E.Dark and suddenly it stopped working. I tought then it could be the Colors that in the Expression_Dark theme are different, but then i tried colors that belong to the theme like #FF416100 and #FF1F497D, but that did not worked.

    So here's the code that i've changed:
    private void Button_Click(object sender, RoutedEventArgs e)
    {
        //picker.AutomaticColor = Color.FromArgb(255, 65, 97, 0);
        picker.AutomaticColor = Color.FromArgb(255, 31, 73, 125);
        picker.SelectedColor = Color.FromArgb(255, 216, 214, 203);
    }

    <telerik:RadColorPicker telerik:StyleManager.Theme="Expression_Dark"
                                        x:Name="picker" />

    Maybe you guys can give me a light or another approach. 

    Thanks,
    Fábio Witt.
  2. Answer
    Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 22 Jul 2011 Link to this post

    Hello Fábio Witt Jagnow,

     This appears to be a bug in the ExpressionDark theme. We logged it in our PITS and we also updated your telerik account points. Thank you for your cooperation and pelase accept our apologies for any inconvenience caused.

    Greetings,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
Back to Top