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

[Solved] RadEditor breaks Tabstrip Skin

2 Answers 77 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Simon Laxton
Top achievements
Rank 1
Simon Laxton asked on 07 Jan 2010, 09:33 AM
Hi.

I've got something odd going on with my project.

If my webpage consists of a tabstrip and an editor the tabstrip loses it's custom skin. The Editor is still fine though.

It only happens on pages with a tabstrip and an editor.

The controls are created in code-behind in the createchildcontrols method.

attached are some screenshots of the problem

any ideas would be appreciated.

thanks

Vinny

2 Answers, 1 is accepted

Sort by
0
Simon Laxton
Top achievements
Rank 1
answered on 07 Jan 2010, 01:18 PM
Fixed!!!!!

I found the issue. We make use of most of the controls and currently there is a css file for each control being used. This combined with using dotnetnuke and it's css files causes some css files not to be loaded at all. In our case it was always the last control's css that was missing. therefore now styling was applied.

The workaround for this is to create Master.{skinname}.css and in that css file import all the css files for the controls being used. Register only the master css file with skinmanager and it'll pull in all the control css files.

Telerik - Could visual StyleBuilder maybe create such a css file by default ? 

Hope this helps someone else.

Vinny
0
Dobromir
Telerik team
answered on 08 Jan 2010, 11:51 AM
Hi Vinny,

I am glad you managed to find a solution yourself!

The Visual StyleBuilder tool cannot create such a CSS file but you can use RadStyleSheetManager in your application to combine the stylesheets.

Note that there are several known limitations with InternetExplorer considering styles and they are as follows:
  1. You cannot register more than 31 CSS files
  2. You cannot register more than 4095 classes in a single file

Regards,
Dobromir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Simon Laxton
Top achievements
Rank 1
Answers by
Simon Laxton
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or