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

[Solved] skin not applied for Radgrid

1 Answer 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Achuthan
Top achievements
Rank 1
Achuthan asked on 04 May 2013, 08:51 AM


Hi,
 The Css styles are not apply for Radcontrols in IE.if i put 2 grid controls the Css styles are applied perfectly.but if i add more than two grid, css styles are not apply for other grids except first two grid.
 

To solve this i have searched in a lots of forum. 

some experts told to add a stylesheetmanager to Combine the stylesheet requests into a single request.
because of IE have some limitation to add more than 31 cssfile.
 
After adding the stylesheetmanager  i am getting the same issue.
Please help me to solve this issue.


Sample code:
  <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
        <StyleSheets>
           <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Grid.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Black.Grid.Black.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Forest.Grid.Forest.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Hay.Grid.Hay.css" Assembly="Telerik.Web.UI" />
        </StyleSheets>
    </telerik:RadStyleSheetManager>

Thanks.
 

1 Answer, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 04 May 2013, 03:16 PM
Hello,

Please use @import in css to load internal css files.

http://www.cssnewbie.com/css-import-rule/#.UYUpSUq86Qc

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Achuthan
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or