This is a migrated thread and some comments may be shown as answers.

ColorPicker shows empty tooltip or worse

1 Answer 50 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
apb
Top achievements
Rank 1
apb asked on 15 Apr 2010, 09:06 PM
Hi,

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.

-Al

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 16 Apr 2010, 12:27 PM
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 - http://demos.telerik.com/aspnet-ajax/colorpicker/examples/localization/defaultcs.aspx, 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,
Tsvetie
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.
Tags
ColorPicker
Asked by
apb
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or