Custom Color picker on the WebPalette

4 posts, 0 answers
  1. esw00
    esw00 avatar
    14 posts
    Member since:
    Sep 2005

    Posted 23 Apr 2011 Link to this post

    I'm having a couple of issues with the Custom Color picker option on the WebPalette (EnableCustomColor):

    <telerik:RadColorPicker ID="RadColorPicker1" runat="server" EnableCustomColor="True"
           ShowRecentColors="True" ShowIcon="True">
          </telerik:RadColorPicker>

    When I select a color on the custom color popup, the color selected seems to be filtered by the luminosity slider on the right.  For example, if I select a dark red or blue, and the luminosity slider is all the way at the top (which it is by default), the selected color is #FFFFFF.  This was very confusing at first.  Is there a way to change this behavior so that the actual color picked is selected?

    My second question is whether a default color can be specified for the Custom Color picker.  I'd like the color selected by the RadColorPicker to be initially selected in the Custom Color Picker.  Is that possible?

    Thanks in advance.
  2. Niko
    Admin
    Niko avatar
    387 posts

    Posted 26 Apr 2011 Link to this post

    Hello Eric,

    Unfortunately there is no option that will enable changing the behavior of the custom color dialog. It is opened with a predefined color - white(#ffffff). Currently the control doesn't allow changing this default setting. Still this could be a good addition to its functionality and we will introduce it in our discussions for future improvements. However I cannot guarantee in any way that this functionality will be implemented.

    Hope this answers your questions.

    Greetings,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. esw00
    esw00 avatar
    14 posts
    Member since:
    Sep 2005

    Posted 26 Apr 2011 Link to this post

    Just to be clear, the intended behavior is for the color to remain #FFFFFF regardless of which color is picked in the dialog unless the user first adjusts the slider control?

    To reproduce:

    1. Click the custom color icon on the Webpallette tab.  The Custom Color dialog opens.
    2. Click any color.  The selected color remains #FFFFFF.
  5. Niko
    Admin
    Niko avatar
    387 posts

    Posted 26 Apr 2011 Link to this post

    Hi Eric,

    The popup allows the user to change the color using the HSB(Hue,Saturation,Brightness) color space. Please, note that in this color space the white color is represented by full Brightness, i.e. 100%. However no matter how the Hue or Saturation are changed, having the Brightness at 100 still represents white. Changing the color from the color area only changes Hue on the horizontal and Saturation on the vertical. The slider next to this area changes the Brightness, which will finally change the white predefined color.

    Hope this explains the way the popup custom color dialog changes the color.

    All the best,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top