views:

295

answers:

0

Is there a way to change the default scroll bar colors in code? My failed attempt is of no use. This is using VB.Net in webform.

.ReportRender
{
    background-color:#eaf3ff;
    SCROLLBAR-FACE-COLOR: white;   
    SCROLLBAR-HIGHLIGHT-COLOR: #d6e8ff;   
    SCROLLBAR-SHADOW-COLOR: #d6e8ff;   
    SCROLLBAR-3DLIGHT-COLOR: #6699cc;   
    SCROLLBAR-ARROW-COLOR: #567db1;   
    SCROLLBAR-DARKSHADOW-COLOR: #6699cc;   
    SCROLLBAR-BASE-COLOR: #d6e8ff;
}

In code (VB.Net)

ReportViewer.CssClass = "ReportRender"

This, of course, is not working. Has anyone else successfully change the scrollbar colors on the Report Renderer in webforms?