CSS not working on MOSS

6 posts, 0 answers
  1. elcarlos14
    elcarlos14 avatar
    10 posts
    Member since:
    Aug 2007

    Posted 22 Aug 2007 Link to this post

    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
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 23 Aug 2007 Link to this post

    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

  3. elcarlos14
    elcarlos14 avatar
    10 posts
    Member since:
    Aug 2007

    Posted 22 Nov 2007 Link to this post

    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, 
  4. Guillaume
    Guillaume avatar
    10 posts
    Member since:
    Sep 2007

    Posted 26 Nov 2007 Link to this post

    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 ?
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 26 Nov 2007 Link to this post

    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
  6. elcarlos14
    elcarlos14 avatar
    10 posts
    Member since:
    Aug 2007

    Posted 26 Nov 2007 Link to this post

    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

Back to Top