How to set background color?

3 posts, 1 answers
  1. Jeremy
    Jeremy avatar
    24 posts
    Member since:
    Oct 2008

    Posted 23 Sep 2010 Link to this post

    We have tried setting the BackColor property of the RadDropDownList in both the designer and in the code behind.  Attempting to set the BackColor to a solid color (ie. this.RadDropDownList.BackColor = System.Drawing.Color.Red;) does not see to work.

    We can't seem to find the correct property to set the background color of the RadDropDownList.  How can we set the background color on this control?

    Thank you for any help and information you can provide.
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 24 Sep 2010 Link to this post


    From memory, you can use the Visual Style Builder to do this. Or, if you just want to set it simply, then you would need to set Set Enable Theming to False. 
    Hope that helps
  3. DevCraft R3 2016 release webinar banner
  4. Answer
    Peter avatar
    1148 posts

    Posted 29 Sep 2010 Link to this post


    Thanks for the writing.

    In case that you want to set the back color of the text box hosted in RadDropDownList you should use the following code snippet:
    this.radComboBox1.DropDownListElement.TextBox.Fill.BackColor = Color.Red;
    this.radComboBox1.DropDownListElement.TextBox.BackColor = Color.Red;
    this.radComboBox1.DropDownListElement.EditableElement.BackColor = Color.Red;//For DropDownStyle = DropDownList

    This can be also set via Visual Style Builder.

    I hope this helps.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top