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

CSS not working on MOSS

5 Answers 104 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
elcarlos14
Top achievements
Rank 1
elcarlos14 asked on 22 Aug 2007, 10:32 PM
Hello,

I'm trying to use a RadGrid on Sharepoint 2007, everything is working fine except the CSS, the font and colors that are suppused to be used in the rows are not working but the color and font of the header IS working.

I already did all the steps specify on the Integration Document with no succes.

Is there anything else I need to do to get this work ?

Regards,

Carlos

5 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 23 Aug 2007, 10:51 AM
Hello elcarlos14,

Do you by any chance use one of the predefined grid skins? This may be the reason for the issue with the item style appearance you observed - some of the skin definitions may override those which you set explicitly with css. You can try disabling the grid skin temporary to see whether this alleviates the abnormality or alter the grid skin setting directly as explained here.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
elcarlos14
Top achievements
Rank 1
answered on 23 Nov 2007, 12:30 AM
Hi,

I'm using a predefined skin (Monochrome), what I observed is that the background color of the RadGrid is working, but the font is not working, I followed integration paper that explains the directories that have to be created with no success.

Regards, 
0
Guillaume
Top achievements
Rank 1
answered on 26 Nov 2007, 10:36 AM
Hi,
I am having the same problem, no matter which style I apply (custom style) it will work in the text edit form but not on the page once i've validated my changes. Is there any solution to that issue ?
0
Sebastian
Telerik team
answered on 26 Nov 2007, 12:00 PM
Hello guys,

I tried to recreate the issue using the latest version 5.0.1 of RadGrid and the Monochrome skin by modifying the following common css classes for the rows:

.GridRow_Monochrome td,  
.GridAltRow_Monochrome td,  
.SelectedRow_Monochrome td,  
.ActiveRow_Monochrome td,  
.GridEditRow_Monochrome td  
{  
    border-bottom:1px solid #d3d3d3;  
    padding-top:4px;  
    padding-bottom:5px;  
    font-size:15px;  
    font-family: Times New Roman;  
    font-style: italic;  

The new font setting were applied as expected when I viewed the page in the browser (see the enclosed project). Compare your skin definitions with those from the sample and modify them accordingly to attain the desired effect. Also refer to the help article linked in my previous reply to familiarize with the skinning model of our web grid and how to alter the predefined appearance set through a skin.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
elcarlos14
Top achievements
Rank 1
answered on 26 Nov 2007, 04:19 PM

Hello,

The way I solved this was adding a reference to the CSS of the RadGrid, according to the "Moss 2007 integration paper", we must have the RadControls within wpresources folder with a special notation in the naming of each folder.

For the Monochrome skin I had to add the following css reference:

<link rel="stylesheet" type="text/css" href="/_wpresources/RadGrid.Net2/4.5.2.0_ec87bc2939ec45df/RadControls/Grid/Skins/Monochrome/Styles.css"/> 

What I don't like about this "solution" is that if I want to change the skin I will have to change the path for the style corresponding to the desired skin.

Regards,
Carlos

Tags
WebParts for SharePoint
Asked by
elcarlos14
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
elcarlos14
Top achievements
Rank 1
Guillaume
Top achievements
Rank 1
Share this question
or