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

[Solved] Custom skin and page size

2 Answers 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Milosz
Top achievements
Rank 1
Milosz asked on 13 Oct 2009, 11:42 AM
Hi
i copied file Office2007.cs and renamed it to CustomOffice2007.cs, i also renamed all tags in it from Office2007 to CustomOffice2007
in my asp.net code i added this:

Skin

 

="CustomOffice2007" EnableEmbeddedSkins="false"

 

and everything is working fine except dropdown with page size, its is just not well formatted (see attachment)

what i want to achieve is to colorize even and odd rows without loosing hover and selected format, maybe there is a way to do it without adding new css file, i was trying to add piece of css to page with grid, which was overriding background color of row, but in this way i lost hover formatting

2 Answers, 1 is accepted

Sort by
0
Accepted
Schlurk
Top achievements
Rank 2
answered on 14 Oct 2009, 02:29 PM
I think this documentation article can be of assistance, perhaps it will let you take out the second CSS file all together.
0
Milosz
Top achievements
Rank 1
answered on 15 Oct 2009, 05:54 AM
i forgot to register ComboBox.CustomOffice2007.css file in head section and thought that it is not the solution, tnx for refresh my mind:

Important: RadGrid may create other RadControls as part of its elements (slider pager, filtering menu, date pickers in GridDateTimeColumns, etc.) and you will need to perform the same steps for these controls as well!
Tags
Grid
Asked by
Milosz
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Milosz
Top achievements
Rank 1
Share this question
or