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

Minor styling problem in RadGrids.

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 23 Jan 2013, 01:58 PM
I'm not exactly a CSS expert (or styling expert). 

I have a 4.0 web app with two master pages and a system-wide css file.  The master pages both have SkinManagers set to Transparent.  All the grids (and most other Telerik controls have their skin set to default.) 

Each master page has a reference to the system css:   <link href="../Content/CSS1.css" rel="stylesheet" />

The problem is this.  I want all grids to have a alternating row back color of Alice Blue. I have a declaration: 
div.RadGrid .rgAltRow {  background: AliceBlue; }

If I put this in the main CSS file, nothing happens.  If I put this in the master pages, within a <style> block, it works fine.

What am I doing wrong?

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 28 Jan 2013, 03:53 PM
Hi Boris,

Could you please inspect the styles using the Network Monitoring of Fire Bug and verify if the file is loaded? Also ensure that the path to the external css is correctly set in the MasterPage.

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Boris
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or