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.
3 Answers, 1 is accepted
answered on 03 Oct 2008, 03:27 PM
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.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
dlgColor.SelectedColor = Color.Green
works the first time I open the Dialog box,
any further access sets the "new" color to White
Any Idea ?
answered on 06 Mar 2012, 07:07 PM
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: