This is a migrated thread and some comments may be shown as answers.

Setting NoColor field

7 Answers 86 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Charles Bates
Top achievements
Rank 1
Charles Bates asked on 23 Apr 2010, 08:14 PM
Hello --

I see that I can set the NoColorText property; is it possible to set the NoColor field?  
Is it possible to distinguish the user clicking on the NoColor field from the user clicking on a color in the main palette?
Thanks for any tips....

7 Answers, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 27 Apr 2010, 08:01 AM
Hi Charles Bates,

Unfortunately there is no property that can be used for setting the NoColor field, you can only set its visibility by using NoColorVisibility property.
The only event that RadColorPicker/RadColorSelected expose is SelectedColorChanged that is fired every time when you select some color (either some of the pallets color or the NoColor field).

Regards,
Bobi
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Bobi
Telerik team
answered on 27 Apr 2010, 08:13 AM
Hi Charles Bates,

Your suggestion about the NoColor field is already added in our ToDo list and we will add an apropriate property that handles this functionality for some of the next minor releases (probably the next weeks internal build).

Regards,
Bobi
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Terry
Top achievements
Rank 1
answered on 07 May 2010, 02:45 AM
As an alternative, you (Telerik) could just set the no-color color to #00000000.  This way the selected color would have an opacity of zero, i.e no color, and any underlying color would show through.  As it is, we can't distinguish between selecting black and no color.  Either way, black (#FF000000) is the selected color.  So picking no color will always result in black.
0
Terry
Top achievements
Rank 1
answered on 23 May 2010, 06:35 PM
Has this been resolved yet?  Until it's resolved, we can't pick black as a color, since black = no color.
0
Bobi
Telerik team
answered on 25 May 2010, 11:34 AM
Hi Terry,

Thank you for the interest in our controls. This issue is already added in our to do list and will be fixed as soon as possible. Here you can find the current status :
http://www.telerik.com/support/pits.aspx#/public/silverlight/1964

Regards,
Bobi
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Terry
Top achievements
Rank 1
answered on 12 Aug 2010, 08:47 PM
3 months later this is still an important issue for me.

I just need to distinguish whether the user selects no color or black.  If you just return any color with an opacity of zero for no color, I can distinguish that.  So for instance, return #00000000.  This would be easier than adding a NoColorColor property, although that will certainly solve my problem.

Thanks,

Terry
0
Viktor Tsvetkov
Telerik team
answered on 13 Aug 2010, 09:08 AM
Hi Terry,

With the coming service pack the RadColorPicker comes with an additional property called AutomaticColor which you can set in order to change the color of the NoColor field.

Sincerely yours,
Viktor Tsvetkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ColorPicker
Asked by
Charles Bates
Top achievements
Rank 1
Answers by
Bobi
Telerik team
Terry
Top achievements
Rank 1
Viktor Tsvetkov
Telerik team
Share this question
or