Alpha in Hex Representation

2 posts, 0 answers
  1. Hilary
    Hilary avatar
    5 posts
    Member since:
    Oct 2014

    Posted 03 Nov 2014 Link to this post

    When using the ColorEditor, there is an option to hide or collapse the Alpha slider. However, the user can still alter alpha settings in the hex representation TextBox. How can I prevent this? I would still like the user to be able to interact with the TextBox, but I don't want them to change the color's transparency.
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1165 posts

    Posted 06 Nov 2014 Link to this post

    Hi Hilary,

    Please keep in mind that the TextBox actually is one control and you can either disable or enable it. You cannot allow users to control only a part of its value. Also, there is no application (as far as I personally know) that has such color editing component which exposes the functionality that you require. Users always are allowed to edit all the HEX representation of a color if they are allowed to edit the color at the first place.

    Pavel R. Pavlov

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top