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

RadEditor dialogs to use different skin

1 Answer 20 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jordan
Top achievements
Rank 1
Jordan asked on 22 Oct 2018, 02:00 PM

Hello,

Is it possible for the dialog's (link manager, image manager etc) of a RadEditor to use a different skin to the editor. 

I've got my default skin set in my Web.Config file. I then tried to override certain controls within the Web.Config file but they only seem to work when the controls are directly on the page. 

    <add key="Telerik.Skin" value="{CustomSkinName}" />
    <add key="Telerik.FileExplorer.Skin" value="{CustomSkinName}" />

 

Is it possible to do what I'm after?

I have tried to use a "DialogsCssFile" but that brings in other issues, for example for the RadEditor styling completely messes up as class names have changed.

"RadEditor RadEditor_{CustomSkinName}" becomes "RadEditor {CustomSkinName}"

Amongst many other problems.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 25 Oct 2018, 09:39 AM
Hi Jordan,

Yes, you can customize the dialogs appearance through the DialogsCssFile property and yes, there is a known problem when this property is used with a custom skin: The DialogsCssFile property breaks the appearance of a custom skin.

To fix the DialogsCssFile problem please explicitly set the RenderMode property of RadEditor to "Lightweight", i.e.

<telerik:RadEditor RenderMode="Lightweight" DialogsCssFile="~/CustomSkinName/DialogContents.css"  Skin="CustomSkinName" EnableEmbeddedSkins="false" ID="RadEditor1" runat="server" >
            <ImageManager ViewPaths="~/" UploadPaths="~/" />
</telerik:RadEditor>

Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Editor
Asked by
Jordan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or