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

[Solved] How do you change the CSS for RadControls?

2 Answers 116 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 21 Aug 2009, 08:25 PM
So how do you change the CSS for the RadControls?  Please give me an example of how to change the black themed Radgrid header and the rows please.  I need to know asap.  Thanks! 

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Aug 2009, 04:53 AM
Hi Brett,

Try the following approach and let me know how it goes.

CSS:
 
<head runat="server"
    <title>Untitled Page</title> 
    <style type="text/css"
     
    .RadGrid_Black .rgHeader 
    { 
       background:pink !important; 
    } 
    .RadGrid_Black .rgRow  
    { 
        background:LightBlue !important; 
    } 
 
    .RadGrid_Black .rgAltRow 
    { 
     background:PaleGreen !important; 
    } 
    </style> 
</head> 


Regards
Shinu

0
Brett
Top achievements
Rank 1
answered on 24 Aug 2009, 03:54 PM
How about adjusting margins, widths and heights of the headers, footers and rows?  I would like to move the header over to the left by about 50-100 pixels.  Thanks!
Tags
Grid
Asked by
Brett
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Brett
Top achievements
Rank 1
Share this question
or