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

new color options in colorpicker

1 Answer 59 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Bo
Top achievements
Rank 1
Bo asked on 04 Oct 2007, 07:30 AM
In the file colorpicker, I have added four new colors to the array called defaultColorsArray, so that it looks like this:

 ************************************************/  
 var defaultColorsArray = new Array(
  "",   "#ffff00", "#00ff00", "#add8e6", "#008000", "#808080",
  "#ffd700", "#ffe4e1", "#00ffff", "#87ceeb", "#0000ff", "#a9a9a9",
  "#ffa500", "#ffc0cb", "#a52a2a", "#008080", "#000080", "#c0c0c0",
  "#ff0000", "#c71585", "#8b0000", "#4b0082", "#000000", "#ffffff",
  "#990033", "#806854", "#DDD6C8", "#3F2805"
 );

but it doesn't give any effect! Have I misunderstood something?

Bo

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 04 Oct 2007, 01:02 PM
Hi Bo,

I suggest using the Defining colors  help article to set the colors you want to add in the RadColorPicker "Prometheus".

If the above suggestion does not suit your needs, please, send us more details about your issue and a simple running application demonstrating it as I am unable to understand what you want to achieve only with the code and information you have provided.

Best regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ColorPicker
Asked by
Bo
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or