Microsoft Developer Network > Forenhomepage > SharePoint - Excel Services > Cell background color in Excel Web Access webpart
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetCell background color in Excel Web Access webpart

  • Mittwoch, 1. Juli 2009 09:48Vilius Simonaitis TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    I have an Excel file (Edited with MS Excel 2007) in which odd rows are colored Gray.
    When it is displayed through Excel Web Access webpart, Gray background color is rendered as Black (ExcelRenderer.aspx file returns 'background-color: Black' css for particular cells ).

    The funny thing is that the problem appears only in Intranet zone. In Internet zone Excel file appears correctly.

    This problem persists only with gray shades. When i apply greenish or custom color, the background is rendered fine.

    Is it Sharepoint bug (how do i submit it to MS?)
    or
    some configuration issue (how to resolve it)?

Antworten

  • Mittwoch, 1. Juli 2009 16:42Anthony Valey - MSFT TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    It sounds as though you have gradient fill backgrounds present in the cells.  In Internet Explorer, Excel Web Access uses the Alpha/Gradient ActiveX filters to replicate Excel's rendering.  Unfortunately when ActiveX is disabled, in certain zones, the background shows with full saturation instead of with the specified opacity.

    You can:
    1) change the settings/trust for the specified web site(s)
    2) remove or change fills/table styles as you mentioned
    3) change ActiveX settings more widely than (1); this can be risky, so do so with caution
    S/W Engineer, Microsoft Office Excel Services

Alle Antworten

  • Mittwoch, 1. Juli 2009 16:42Anthony Valey - MSFT TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    It sounds as though you have gradient fill backgrounds present in the cells.  In Internet Explorer, Excel Web Access uses the Alpha/Gradient ActiveX filters to replicate Excel's rendering.  Unfortunately when ActiveX is disabled, in certain zones, the background shows with full saturation instead of with the specified opacity.

    You can:
    1) change the settings/trust for the specified web site(s)
    2) remove or change fills/table styles as you mentioned
    3) change ActiveX settings more widely than (1); this can be risky, so do so with caution
    S/W Engineer, Microsoft Office Excel Services