ComboBox List Not Readable with Office2007Black Theme

4 posts, 0 answers
  1. Cristi Beres
    Cristi Beres avatar
    2 posts
    Member since:
    Jul 2003

    Posted 26 May 2010 Link to this post

    Hello,

    I am using the Office2007Black in a WinForms application.

    On my Main form's Initialization I have put the following line:
    ThemeResolutionService.ApplicationThemeName = "Office2007Black";

    The problem is that for all the combo boxes, be it either a stand alone RadComboBox control or a GridViewComboBoxColumn inside a RadGridView, the background on the drop down list is dark gray (almost black) while the text is black, which makes it unreadable.

    As far as I can tell, even though it seems off, this is the default theme behavior...

    How would one fix this issue?

    Thanks,
    Cristi
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 28 May 2010 Link to this post

    Hi Cristi Beres,

    Thank you for writing.

    The theme on your screenshot is the old Office2007Black theme. You can change the old theme by using the old Visual Style Builder tool. To do this you have to use a version before Q1 2010. I would strongly suggest however that you upgrade to the latest release and use the new Office2007Black theme. It does not suffer from this issue and has a consistent look and feel. Moreover, all controls are now skinned and look better overall.

    Please write again if you need further assistance.

    Kind regards,
    Victor
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Cristi Beres
    Cristi Beres avatar
    2 posts
    Member since:
    Jul 2003

    Posted 01 Jun 2010 Link to this post

    Hi Victor,

    Thank you for your reply.

    I am using the Q1 2010 version of the controls, however, I still have the problem with the theme.

    I was able to work around it by setting the fore color for the drop downs with something like this:

    foreach (Telerik.WinControls.UI.RadComboBoxItem item in this.radComboBox1.Items) {
                    item.ForeColor = Color.White;
                }

    Unfortunately, this works only for the radComboBox control. I couldn't figure out how I could do the same thing for a GridViewLookUpColumn inside a radGridView.

    Any suggestions?

    Thanks,
    Cristi
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 04 Jun 2010 Link to this post

    Hello Cristi Beres,

    Thank you for writing.

    After upgrading the theme should look fine. I did not see you mentioning Q1 2010 SP2 though. However, it is important that you update not just to Q1 2010, but to its SP2. The new theme in this version looks like the attached screenshot. In case you have already updated your Telerik version to Q1 2010 SP2, please list the assemblies related to Telerik controls for Windows Forms that appear in your GAC as well as their version numbers. I have a hunch there might be multiple versions in your GAC and your project is referencing the wrong theme.

    I am looking forward to your reply.

    Best wishes,
    Victor
    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