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

Styles issues with radGrid

4 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Julie
Top achievements
Rank 1
Julie asked on 09 Jul 2012, 09:58 AM

Hi,

 

I use a radgrid and add the attributes skin="MyRadGridSkin" and EnableEmbeddedSkins="false" to use a custom style.

Everything works fine except two points :

 

1- Now, a WebResource.axd (which contains the default style) is loaded BEFORE my custom style and override some of my modifications. With the word « !important » i managed to have what i wanted.

Is it possible to load this WebResource after my style and how ?

 

2- I didn’t override the style of the radcombobox. When used alone, the skin is ok. But the combobox used for the page size is weird :



When i look with firebug, it tells me that it seeks for my custom style.

Why, in some cases, the WebResource overrides my style and why, in this case, it doesn’t ?

Do i have to write a style only for that combobox ?

 

Thanks

4 Answers, 1 is accepted

Sort by
0
Galin
Telerik team
answered on 12 Jul 2012, 03:58 PM
Hello Julie,

In case you are using a custom skin for RadGrid, you should style the RadComboBox too (and other internal controls as context menu).

Also, please note that one CSS rule with higher specificity overrides one with lower. It does not matter how other rules are ordered. Additionally, if there is !important in value of the property it overrides all other styles without it.

If the issue persists, could you please try to isolate the problem in a sample page and send it to us? Alternatively a live URL will help us as well.

Kind regards,
Galin
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.
0
Bob
Top achievements
Rank 1
answered on 29 Apr 2013, 07:55 PM
Any luck with this? After trying to upgrade to latest version, my pager drop-down on all grids is showing without a background, border, or arrow like in your screenshot.
0
Galin
Telerik team
answered on 30 Apr 2013, 02:15 PM
Hello Bob,

I am afraid I am still not able to identify what is causing the problems you are facing based on this information. I would appreciate it, if you could open a formal support ticket and isolate the problem in a simple running project so that I can examine it locally.

Kind regards,
Galin
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.
0
Bob
Top achievements
Rank 1
answered on 30 Apr 2013, 02:19 PM
Actually...I was attempting to selectively update CSS files while upgrading to latest version of controls to minimize the amount of style fixes I needed to make/test.  Once I decided to  pull down all the latest style sheets, this issue no longer appeared.
Tags
Grid
Asked by
Julie
Top achievements
Rank 1
Answers by
Galin
Telerik team
Bob
Top achievements
Rank 1
Share this question
or