RadLabel Style Bug

2 posts, 0 answers
  1. Chris Ward
    Chris Ward avatar
    52 posts
    Member since:
    Jan 2010

    Posted 16 Aug 2012 Link to this post

    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?
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 21 Aug 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top