This is a migrated thread and some comments may be shown as answers.

Change the scrollbar color

3 Answers 232 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Myriam
Top achievements
Rank 1
Myriam asked on 02 Jun 2009, 01:35 PM
Hello
Is it possible to change de scrollbar color?
I'm using the skin Office2007
Thank you

Myriam

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 02 Jun 2009, 02:13 PM
Hi Myriam,

Yes, you can either use RadFormDecorator:

<telerik:RadFormDecorator DecoratedControls="Scrollbars" />

or add some custom CSS styles manually:

.RadGrid_Office2007  div
{
    scrollbar-3dlight-color: #606f94;
    scrollbar-arrow-color: #4d5874;
    scrollbar-base-color: #f5f5f5;
    scrollbar-darkshadow-color: #5f6e93;
    scrollbar-face-color: #d8dfe8;
    scrollbar-highlight-color: #fff;
    scrollbar-shadow-color: #a3a3a3;
    scrollbar-track-color: #efefef;
}

You can change the colors, according to your preference.


Greetings,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Myriam
Top achievements
Rank 1
answered on 04 Jun 2009, 03:35 PM
I'd like to use the second method but it says that I all the scrollbar properties are unknown by CSS...
Any idea why it does it?
Thank u
0
Myriam
Top achievements
Rank 1
answered on 04 Jun 2009, 03:45 PM
But strangly this is working anyway.
The colors are great
Thanks!
Tags
Grid
Asked by
Myriam
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Myriam
Top achievements
Rank 1
Share this question
or