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

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

1 Answer 98 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeremy Murtishaw
Top achievements
Rank 1
Jeremy Murtishaw asked on 02 Aug 2009, 05:26 PM
Hello,

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...

Thanks!
Jeremy

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 03 Aug 2009, 12:48 PM
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,
Boryana
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.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Jeremy Murtishaw
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or