new color options in colorpicker

2 posts, 0 answers
  1. Bo
    Bo avatar
    2 posts
    Member since:
    Sep 2007

    Posted 04 Oct 2007 Link to this post

    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
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 04 Oct 2007 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top