ColorPicker shows empty tooltip or worse

2 posts, 0 answers
  1. apb
    apb avatar
    46 posts
    Member since:
    Nov 2008

    Posted 15 Apr 2010 Link to this post


    There seems to be a bug in ColorPicker that causes it to show an empty tooltip when PickColorText and CurrentColorText properties are set to empty strings (the control looks even worse when they are not set to empty).

    See attached image for what I mean. 

    It seems like it is concatenating PickColorText + "  " + CurrentColorText, but trimming the string when one of both is empty.

    I would expect no tooltip to be shown if both these are empty.


  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 16 Apr 2010 Link to this post

    Hello Al,
    The default value of the CurrentColorText property is "(Current Color is {0})" and the default value of the PickColorText property is "Pick Color". The tooltip indeed is a concatenation of the two strings. As you can see in our online demos -, when those two strings are set, the color picker looks correct. That is why, I suppose there are some global styles on your page that override the styles from the embedded CSS files of the color picker and that lead to the result in the screenshot. In case you need help determining which global style leads to the problem, please open a new support ticket and send us a running project that demonstrates the problem.

    Regarding the empty tooltip in case both properties are set to an empty string - we will fix it for the next update of the suite. I have updated your Telerik points for bringing the problem to our attention.

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top