Microsoft Developer Network > Domovská stránka fór > SharePoint - Excel Services > Cell background color in Excel Web Access webpart
Odeslat dotazOdeslat dotaz
 

OdpovědětCell background color in Excel Web Access webpart

  • 1. července 2009 9:48Vilius Simonaitis Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    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)?

Odpovědi

  • 1. července 2009 16:42Anthony Valey - MSFT Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět
    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

Všechny reakce

  • 1. července 2009 16:42Anthony Valey - MSFT Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět
    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