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

[Solved] Skin not Applied for Radcontrols in IE

3 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Achuthan
Top achievements
Rank 1
Achuthan asked on 10 May 2013, 02:34 PM
Telerik Embedded skins are not apply for radcontrols in IE. For that Some expert told to add a Radstylesheetmanager to combine stylesheet request into single one.

if i add radstylesheetmanager like this

 string telerikAssembly= typeof(RadGrid).Assembly.FullName;
                    RadStyleSheetManager stylesheet = new RadStyleSheetManager();
                    
                    StyleSheetReference css1 = new StyleSheetReference();
                    css1.Assembly = telerikAssembly;
                    css1.Name = "Telerik.Web.UI.Skins.Telerik.Grid.Telerik.css";
                    stylesheet.StyleSheets.Add(css1);

                    StyleSheetReference css2 = new StyleSheetReference();
                    css2.Assembly = telerikAssembly;
                    css2.Name = "Telerik.Web.UI.Skins.Office2007.Grid.Office2007.css";
                    stylesheet.StyleSheets.Add(css2);
                    
                    StyleSheetReference css3 = new StyleSheetReference();
                    css3.Assembly = telerikAssembly;
                    css3.Name = "Telerik.Web.UI.Skins.Black.Grid.Black.css";
                    stylesheet.StyleSheets.Add(css3);
                    this.Page.Header.Controls.Add(stylesheet);

it doesn't work.

is it correct way to add a radstylesheetmanager?
how can i solve this issue please help me to solve this issue.

3 Answers, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 15 May 2013, 02:16 PM
Hello Achuthan,

Please, avoid duplicating forum threads in order to better track your issues. To see the responses to your question, see this forum thread.

Kind regards,
Venelin
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
Achuthan
Top achievements
Rank 1
answered on 16 May 2013, 05:26 AM
Hi  Venelin,

If i add a just  Radstylesheetmanager  into the page without adding any style reference thats also doesn't work.

My code is:
  RadStyleSheetManager stylesheet = new RadStyleSheetManager();
  this.Page.Controls.Add(stylesheet);

is it a correct way to add a radstylesheetmanager into the page?

Please help me to solve this issue
0
Venelin
Telerik team
answered on 20 May 2013, 09:12 AM
Hi Achuthan,

As I mentioned in the previous post avoid duplicating forum threads. Please, refer to this forum thread.

Kind regards,
Venelin
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
Achuthan
Top achievements
Rank 1
Answers by
Venelin
Telerik team
Achuthan
Top achievements
Rank 1
Share this question
or