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

RadLabel Style Bug

1 Answer 67 Views
Label
This is a migrated thread and some comments may be shown as answers.
Chris Ward
Top achievements
Rank 1
Chris Ward asked on 16 Aug 2012, 03:17 PM
When I place a RadLabel on a form and a button which toggles the enabled state of the label:
radLabel1.Enabled = !radLabel1.Enabled;

The forecolor of the text in the label is initially the ForeColor property of the label.
When the button is clicked once, the text color changes to gray.
When the button is clicked again, the text color changes to a slightly darker shade of gray.

I would expect re-enabling the label to restore the initial ForeColor, why is this not the case?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Aug 2012, 06:35 AM
Hello Chris,

Thank you for writing.

I assume that you are using Q2 2012, where such an issue exists. Here is a link where you can find it: http://www.telerik.com/support/pits.aspx#/details/Issue=11465

In the comments of the issue you can find out how to work around it.

Alternatively, you can upgrade to out latest version - Q2 2012 SP1, where the issue is resolved. 

I hope that the provided information addresses your question. Let us know if you need anything else.
 
Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
Label
Asked by
Chris Ward
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or