[CLOSED] ButtonGroup background-color IE7/IE8

  1. #1

    [CLOSED] ButtonGroup background-color IE7/IE8

    Continuing to perform some regression testing against various browser versions that our used by our end users and came across the following, any thoughts?

    In IE7 and IE8 the background color of the button group is not being applied. Is there a different attribute for these earlier browsers. Looks fine in IE9 and Chrome.

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html>
    <html>
    <head id="Head1" runat="server">
        <title>Button Group Background Color IE7/IE8"</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:Panel runat="server" Title="Panel" Icon="Book" Layout="BorderLayout" Border="false">
            <TopBar>
                <ext:Toolbar ID="RequestsTopBar" runat="server">
                    <Items>
                        <ext:ToolbarFill runat="server" />
                        <ext:ButtonGroup ID="FilterRequestsGrp" runat="server" StyleSpec="background-color: #CFFFCF;">
                            <Items>
                                <ext:Button ID="FilterRefreshBtn" runat="server" Icon="ArrowRefresh" ToolTip="Refresh">
                                </ext:Button>
                            </Items>
                        </ext:ButtonGroup>
                        <ext:ToolbarFill  runat="server" />
                    </Items>
                </ext:Toolbar>
            </TopBar>
            <Items>
            </Items>
        </ext:Panel>
    </body>
    </html>
    Last edited by Daniil; Mar 07, 2013 at 11:01 AM. Reason: [CLOSED]
  2. #2
    Hello!

    You should use BodyStyle in this case due to different markup for IE 7-8:

    <ext:ButtonGroup ID="FilterRequestsGrp" runat="server" BodyStyle="background-color: #CFFFCF;">
    	<Items>
    		<ext:Button ID="FilterRefreshBtn" runat="server" Icon="ArrowRefresh" ToolTip="Refresh">
    		</ext:Button>
    	</Items>
    </ext:ButtonGroup>
  3. #3
    Thanks. Please close.

Similar Threads

  1. [CLOSED] TreePanel - row background color
    By fordprefect in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 05, 2013, 11:27 PM
  2. [CLOSED] Change TreePanel background color and toolbar color
    By jchau in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 07, 2012, 4:42 PM
  3. panel background color
    By unaltro2 in forum 1.x Help
    Replies: 2
    Last Post: Jan 10, 2011, 2:30 PM
  4. Background color in codebehind
    By fabiomarcos in forum 1.x Help
    Replies: 8
    Last Post: Oct 30, 2010, 3:58 PM
  5. Change Tab background color or background image
    By georgelanes in forum 1.x Help
    Replies: 0
    Last Post: Nov 06, 2008, 3:55 PM

Posting Permissions