ColorDialog not the same for me...

4 posts, 0 answers
  1. Perry
    Perry avatar
    19 posts
    Member since:
    Jan 2008

    Posted 02 Oct 2008 Link to this post


    I have Q2 2008 SP1. Adding a color dialog to a form adds the dialog's symbol to the bottom of the designer. I don't see any way to get the properties page that the documentation shows.

    And.. setting SelectedColor before showing the dialog does not affect the default color of the dialog.

  2. Martin Vasilev
    Martin Vasilev avatar
    1061 posts

    Posted 03 Oct 2008 Link to this post

    Hi Perry,

    Thank you for the questions.

    The screenshot in the documentation actually shows RadColorDialog as it appears in our examples. The property selector on the right-hand side are the setting which you can set in the example. You could preview the example by navigating to RadControls Examples --> Editors/RadColorDialog.

    Since this is a form, all of the settings are done in code - you could use the example for directions on how to do that.

    About the SelectedColor property, I have tried following code and it works without any issues - the SelectedColor appears in the "New" section of the form:
    this.radColorDialog1.SelectedColor = Color.Green; 

    It seems that you are expecting something else to happen. Could you give us more details on what your requirements are?

    I have update your Telerik points for bringing our attention to documentation inexactness - it will be addressed in the next version.

    Kind regards,
    Martin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. pierre-jean
    pierre-jean avatar
    108 posts
    Member since:
    Apr 2011

    Posted 29 Feb 2012 Link to this post

    I have then same problem,
    Setting the color with

        dlgColor.SelectedColor = Color.Green
    works the first time I open the Dialog box,
    any further access sets the "new" color to White
    Any Idea ?

  4. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 06 Mar 2012 Link to this post

    Hi Perry,

    Thank you for bringing our attention to this issue. I can confirm that it appears in our latest release. I logged it in our issue tracking system and it will be addressed in our upcoming service pack. I updated also your Telerik points.

    You can work around the issue by calling the Reset method. Consider the sample below:

    this.radColorDialog1.SelectedColor = Color.Green;

    All the best,
    Julian Benkov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top