Change the backcolor of radComboBox

Thread is closed for posting
2 posts, 0 answers
  1. Marcus
    Marcus avatar
    3 posts
    Member since:
    Feb 2007

    Posted 08 Mar 2007 Link to this post

    How do I go about changing the BackColor of the radComboBox?  I tried using the BackColor property but it doesn't change anything.  I am trying to get it to change to one color when it has focus and change back to the default color when it has lost focus.
  2. Georgi
    Georgi avatar
    212 posts

    Posted 09 Mar 2007 Link to this post

    Hi Marcus,

    Indeed, changing BackColor property of the RadComboBox doesn't change color of the textbox part. This property is inherited from ScrollableControl which is ancestor of all our controls.

    Try implementing this with a new theme based on the default theme for example. If you start the Quick Start examples, select any combobox example and open the Visual Style Builder. Choose RadTextBoxItem in the Control Structure tree on the left and then add a new state. Then open the state editor and add a state with property Telerik.WinControls.RadElement.IsFocused and its Value set to true. Then set the desired color in the property list on the right. Finally save this theme and use it where you need. You can find an online movie on how to use the Style builder here:

    I hope this information helps.

    Sincerely yours,
    the telerik team
Back to Top