Using Themes to Change the look of a Disabled Combobox/Textbox

Thread is closed for posting
2 posts, 0 answers
  1. Jeremy Murtishaw
    Jeremy Murtishaw avatar
    86 posts
    Member since:
    Apr 2009

    Posted 02 Aug 2009 Link to this post


    I'd like to change the look of my Textboxes and Comboboxes to be a bit more greyed out when they're disabled. Is this achievable via themes? If so, could you give me any pointers? I've tried a number of things but they don't seem to be working...

  2. Boryana
    Boryana avatar
    330 posts

    Posted 03 Aug 2009 Link to this post

    Hi Jeremy Murtishaw,

    Thank you for your question. In order to change the colors of the RadTextBox and RadComboBox when they are disabled, you can handle the EnabledChanged event and set values to the BackColor properties of the items, depending on whether the controls are disabled. I have implemented my suggestion in a sample project, so please, for further information refer to the attache file.

    Another approach is to create a custom theme and modify the same BackColor properties using Visual Style Builder. For your convenience I have created two sample themes, so that it is easier for you to modify them.

    I hope that this is helpful. If you encounter any further difficulties, please, contact me back.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top