Why panel BackColor does not show?

Posted on 2011-10-13
Last Modified: 2012-05-12
I have panel define as

 <asp:Panel ID="pagerpanel" runat="server" GroupingText="Open a Pager" style="display:none" Font-Size="Smaller" BackColor="#F2F4FE" BorderColor="#F4FAFE">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">

But the BackColor does not show no matter what color I changed to. I also removed the style property, the BackColor still not shows. I have attached the file. Please help.
I have the same panel definition on other pages. It shows on other pages without a problem.

Question by:minglelinch
    LVL 7

    Expert Comment

    You have to give the panel a discrete size.  E.g.,

    LVL 7

    Expert Comment

    "Discrete" may not be best word choice, as you could also use


    ...perhaps "distinct" or "defined"?  lol
    LVL 16

    Expert Comment

    by:Easwaran Paramasivam
    You have to set width and height attributes. Please check
    LVL 1

    Accepted Solution

    I tried to set Width and Height, it still does not work out. Then I found it is due to the area outside of the panel shows the same color, which makes the panel back color does not show, since it's a light color.

    Eventually it turns out IE 7 and IE8 display. If I switch it to IE7, it works out expected.

    Thank you all for the comments.
    LVL 1

    Author Closing Comment

    I made it work.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Suggested Solutions

    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now