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

Custom External Skin Issue

5 Answers 134 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Conor Morrissey
Top achievements
Rank 1
Conor Morrissey asked on 09 Nov 2010, 05:39 PM
Hi guys,

I want to create a custom skin for the RadEditor...

I have followed this article closely to copy Windows7 skin to my local project so I can rename it, and update files as necessary...
http://www.telerik.com/support/kb/aspnet-ajax/editor/register-external-skin-vista-radeditor.aspx

For the most part it works, but I am experiencing an issue with the Image Manager...

Please see attached JPG for issue with the Image Preview... I cannot access properties or insert the image as it's not picking up the correct styles. I copied the skin directly from my installation folder and have not changed anything.

Could you advise?

Thanks,
Chris.

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Nov 2010, 12:30 PM
Hi Chris,

For your convenience I have created and attached a sample working project in which the editor is configured to load and use its Windows7 external skin.

Please, note that there is an IE 31 css files limitation which could cause problems. Please, see the following blog post which explains how to combine the css files and reduce their size: Internet Explorer CSS limits.

All the best,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Conor Morrissey
Top achievements
Rank 1
answered on 12 Nov 2010, 01:51 PM
Thanks, this has helped me understand the issue deeper...

Everything appears fine if the EnableEmbeddedBaseStylesheet is not specified and the external embedded resources are still being pulled into the project.

If I set EnableEmbeddedBaseStylesheet="false" then some of the elements do not appear properly. My skin CSS attributes are being overwritten by the embedded resources.

Are there some CSS attributes missing from the skins, that are only in the embedded CSS files?

Thanks.
0
Rumen
Telerik team
answered on 17 Nov 2010, 04:02 PM
Hi Chris,

If the EnableEmbeddedBaseStylesheet property is set to false, the embedded skin file should not be loaded on the page and you should manually register the base skin files. I tested the provided project by setting this property to false, but I was unable to reproduce the problem. You can see my test in the following video: http://screencast.com/t/FsD5Y1hB.

Are you able to reproduce the problem with the provided sample project in my earlier post? Can you modify it so that the problem is reproducible and send it for examination on our end?

Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Conor Morrissey
Top achievements
Rank 1
answered on 18 Nov 2010, 05:45 PM
Hi Rumen,

Thanks for doing this. The issue is in the video you sent me. I print screened it and highlighted the area concerned.

You can't see the insert image button (bottom right of the image manager pane)... the styles are missing.

Thanks,

Chris
0
Rumen
Telerik team
answered on 23 Nov 2010, 04:59 PM
Hello Chris,

Here is the classes to import in the DialogCss.css file:

@import url('../ToolBar.css');
@import url('../FormDecorator.css');
@import url('../TabStrip.css');
@import url('../Editor.css');
@import url('../TreeView.css');
@import url('../Splitter.css');
@import url('../Slider.css');
@import url('../Upload.css');
@import url('../Window.css');
@import url('../Grid.css');
@import url('../Widgets.css');
@import url('../FileExplorer.css');
@import url('../Menu.css');
@import url('../MultiPage.css');

@import url("Window.Windows7.css");

@import url("Widgets.Windows7.css");
@import url("Upload.Windows7.css");
@import url("Ajax.Windows7.css");
@import url("ColorPicker.Windows7.css");
@import url("ComboBox.Windows7.css");
@import url("Editor.Windows7.css");
@import url("FormDecorator.Windows7.css");
@import url("Grid.Windows7.css");
@import url("Menu.Windows7.css");
@import url("Slider.Windows7.css");
@import url("Splitter.Windows7.css");
@import url("TabStrip.Windows7.css");
@import url("ToolBar.Windows7.css");
@import url("TreeView.Windows7.css");

We have missed the following one:

@import url('../MultiPage.css');


Best wishes,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Conor Morrissey
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Conor Morrissey
Top achievements
Rank 1
Share this question
or