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

Upgraded RadEditor using External Scripts (EnableEmbeddedScripts=False) to Q1 2009, now it broke.

1 Answer 78 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Fred
Top achievements
Rank 1
Fred asked on 26 Mar 2009, 08:20 PM
Are there any other changes I need to make?

I was on Q3 2008 and I had my RadEditor property EnableEmbeddedScripts set to False.

On my page... I have

<telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        <Scripts> 
            <asp:ScriptReference Path="~/Javascript/Scripts/Common/Core.js" /> 
            <asp:ScriptReference Path="~/Javascript/Scripts/Common/PopUp/PopUpScripts.js" />           
            <asp:ScriptReference Path="~/Javascript/Scripts/Editor/RadEditor.js" /> 
            <asp:ScriptReference Path="~/Javascript/Scripts/Dialogs/DialogOpener.js" /> 
            <asp:ScriptReference Path="~/Javascript/Scripts/Editor/Modules.js" />          
            <asp:ScriptReference Path="~/Javascript/Scripts/Spell/SpellCheckService.js" /> 
            <asp:ScriptReference Path="~/Javascript/Scripts/Editor/AjaxSpellCheck.js" /> 
            <asp:ScriptReference Path="~/Javascript/Scripts/Window/RadWindow.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 


I upgraded to Q1 2009 and now I'm getting Javascript errors when trying to load the editor.  If I set EnableEmbeddedScripts to True, I don't get error, but editor loads all clear with no skin.  I went over to http://www.telerik.com/help/aspnet-ajax/disabling_embedded_resources.html and it looks updated for Q1 2009 but nothing new for the Editor.

I'm also not using Embedded Skins, if that matters.

<link href="/Skins/Window.css" rel="stylesheet" type="text/css" /> 
    <link href="/Skins/Editor.css" rel="stylesheet" type="text/css" /> 
    <link href="/Skins/Office2007/Window.Office2007.css" rel="stylesheet" type="text/css" /> 
    <link href="/Skins/Office2007/Editor.Office2007.css" rel="stylesheet" type="text/css" /> 

 <telerik:RadEditor ID="reDocument" Runat="server"  
                                                                        Skin="Office2007"  
                                                                        Height="385px" EnableResize="true" 
                                                                        Width="100%" AutoResizeHeight="false" 
                                                                        StripFormattingOnPaste="None"  
                                                                        StripFormattingOptions="None" 
                                                                        EditModes="Design"  
                                                                        EnableEmbeddedSkins="false" 
                                                                        EnableEmbeddedScripts="True" 
                                                                        EnableEmbeddedBaseStylesheet="true" 


If I turn off EmbeddedSkin and Script to False, it loads somewhat ok.  Except that my custom button icon goes away.
Ok if I turn off Skins and Scripts and comment out the css files then it loads correctly, other then my custom button.

Any suggestions?



1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 30 Mar 2009, 04:05 PM
Hello Fred,

I have prepared and attached a small project demonstrating how to run RadEditor Q1 2009 with its skins and scripts turned off. Please find attached.

Greetings,
Tervel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Fred
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or