Setting Nocolor asTransparent

4 posts, 0 answers
  1. Sivakumar
    Sivakumar avatar
    10 posts
    Member since:
    Mar 2013

    Posted 03 Apr 2013 Link to this post


    Is it any other property for setting nocolor as Transperant color?

    If i set Nocolor in the RadcolorPicker it always Display in Black Color
    Please Guide me to do that.


  2. Slav
    Slav avatar
    1359 posts

    Posted 08 Apr 2013 Link to this post

    Hello Sivakumar,

    When the Empty Color Button is clicked, the color that is displayed in the preview area is white. Please clarify how you have configured the RadColorPicker in order to display a black color as empty color.

    As for the functionality you requested, could you elaborate how should the transparent control be applied and how to indicate that the current color is transparent so that I can help you achieve it if possible?

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Don
    Don avatar
    2 posts
    Member since:
    Jul 2013

    Posted 07 Apr 2014 in reply to Slav Link to this post

    Hey Slav,

    I have a similar problem. I'm storing the 'empty' colour in our DB, then when I reload the colour picker with the empty colour (rgba(0,0,0,0)) the control seems to automatically set white as the selected colour. If I then resend the page to be saved, 'white' is saved to the DB. How can I stop the control from setting white as the default? I can't really do this in code as I can't tell if the user has deliberately set white or not.
  4. Slav
    Slav avatar
    1359 posts

    Posted 09 Apr 2014 Link to this post

    Hello Don,

    It is a known issue that when a blank color is set in the SelectedColor property of RadColorPicker, the control indicates that a white color is selected, however the actual selected color should be blank, unless you change it manually. I have attached a page that demonstrates this. Please check it and let me know if it matches your scenario and if I have missed something.

    Also, note that the color you have mentioned is not empty, but black. Please clarify which of the two values you set in the color picker.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top