ColorEditor initial value

9 posts, 1 answers
  1. David
    David avatar
    12 posts
    Member since:
    Mar 2009

    Posted 19 Apr 2012 Link to this post

    Is there a way to get the color editor to show the initial color in the editor when the control is first instantiated? If you simply want to tweak the existing color it is convenient to have the editor values initialized to the current color at startup. Right now the color editor seems to startup with some default color independent of the settings for Initial or Selected color are.
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 24 Apr 2012 Link to this post

    Hi David Goughnour,

     We understand your frustration. We can confirm that this is a bug in RadColorEditor. We'll investigate it and we will l provide an additional info tomorrow (whether a workaround is possible, or when to expect a fix).
    Thank you in advance for your patience.

    Regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Answer
    Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 25 Apr 2012 Link to this post

    Hi Goughnour,

     We managed to fix this issue and the fix will be available in the next week's internal build. 

    Regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. David
    David avatar
    12 posts
    Member since:
    Mar 2009

    Posted 25 Apr 2012 Link to this post

    Thank you very much for your prompt attention. When will this be officially released? Given your quarterly releases I am pretty sure that will be fine.
  6. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 25 Apr 2012 Link to this post

    Hello David,

    Our Q2 2012 official release is scheduled for the first half of June. 
    On a side note, you can expect the official release of RadDiagrams with Q2, I hope you will like it.

    Regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. David
    David avatar
    12 posts
    Member since:
    Mar 2009

    Posted 25 Apr 2012 Link to this post

    That's funny, I just wrote my own OrgChart using Telerik controls for the nodes and basic Canvas drawing methods for the network. I believe RadDiagrams will be quite useful.

    Thanks
    Dave

  8. herme
    herme avatar
    6 posts
    Member since:
    Apr 2015

    Posted 27 Apr 2015 Link to this post

    Hi,

    What was the workaround for this problem?

    We are stuck on version Q1 2012, so we would not get this fix.

    Thanks,

  9. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 30 Apr 2015 Link to this post

    Hi Herme,

    You can work this around by setting the SelectedColor in the Loaded event of the color picker control using a Dispatcher.
    private void editor_Loaded(object sender, RoutedEventArgs e)
    {
        Dispatcher.BeginInvoke(new Action(() => {
            this.editor.SelectedColor = Colors.Red;
        }));
    }
    Please try this approach and let me know if it helps.

    Regards,
    Martin
    Telerik
     

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

     
  10. herme
    herme avatar
    6 posts
    Member since:
    Apr 2015

    Posted 07 May 2015 in reply to Martin Link to this post

    Hello Martin, 

    That resolved the issue.

    Thank you very much,

Back to Top
DevCraft banner