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

Script Error on RadEditor

1 Answer 54 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Anwar
Top achievements
Rank 2
Anwar asked on 07 May 2013, 09:34 AM
Hello,
When i paste some html in html mode of RadEditor and trying to save this content in database.here i am getting some script error unexpectedly some times.
observe the attached image attached.

This is my editor with all the properties,
<telerik:RadEditor ID="RadEditor1" EditModes="Design,Html" OnClientModeChange="OnClientModeChange"
OnClientLoad="GetContentLength" OnClientPasteHtml="OnClientsubmit" runat="server"
ToolsFile="~/Editor/RadEditorTools/RadTools.xml" Height="550px" Width="100%"
EnableResize="false" ContentFilters="DefaultFilters" OnClientCommandExecuting="changeImageManager"
unselectable="on">
<CssFiles>
    <telerik:EditorCssFile Value="~/Editor/RadEditorTools/EditorContentArea.css" />
</CssFiles>
<Tools>
    <telerik:EditorToolGroup>
        <telerik:EditorTool Name="ImageManager" />
        <telerik:EditorTool Name="InsertLinks" />
    </telerik:EditorToolGroup>
</Tools>
<Content></Content>
<ImageManager ViewPaths="~/Editor/Images" DeletePaths="~/Editor/Images" UploadPaths="~/Editor/Images"
    SearchPatterns="*.gif,*.jpg,*.jpeg,*.png,*.bmp" />
<TemplateManager ViewPaths="~/Editor/SampleDocs/Templates" UploadPaths="~/Editor/SampleDocs/Templates"
    DeletePaths="~/Editor/SampleDocs/Templates" />
<DocumentManager ViewPaths="~/Editor/SampleDocs/Docs" UploadPaths="~/Editor/SampleDocs/Docs"
    DeletePaths="~/Editor/SampleDocs/Docs" />
</telerik:RadEditor>

any solution?

Regards,
Anwar

1 Answer, 1 is accepted

Sort by
0
Stamo Gochev
Telerik team
answered on 09 May 2013, 11:08 AM
Hi Anwar,

Thank you for contacting the Telerik Support.

Judging from the screenshots which you have attached it seems that you are pasting some images in the RadEditor. Could you try pasting them one by one and execute the filtering each time in order to see if a specific image triggers the error? In addition, could you try this scenario in other browsers except from Google Chrome and inform me if you are able to reproduce the same issue?

Furthermore, could you please provide me the exact HTML content which you paste in the RadEditor? This will help me to investigate the matter and give you further details about it.

Regards,
Stamo Gochev
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
Editor
Asked by
Anwar
Top achievements
Rank 2
Answers by
Stamo Gochev
Telerik team
Share this question
or