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

RadEditor Stripping Out HTML on Update

1 Answer 68 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 2
Jason asked on 18 Dec 2009, 09:26 PM

If I add a picture to my RadEditor in the design view and update the form the editor seems to strip out the HTML.  If I add a picture in design view and go to HTML view, copy and past the HTML into design view it works without stripping it out.  I searched the forum but could not find anyone else having this issue.  I am using 2009 Q3.  Code pasted below.  Thanks to anyone who can help!

 

Html trying to insert:

 test<img alt="" src="/databend/Files/image/eatonftw2.jpg" />test 4

 

 

Code:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="editor.ascx.cs" Inherits="isite_controls_editor" %>

 

<telerik:RadEditor ID="RadEditor1" runat="server" ImageManager-UploadPaths="~/isite_files/image" SkinID="DefaultSetOfTools" DocumentManager-MaxUploadFileSize="4000000" FlashManager-MaxUploadFileSize="10000000" ImageManager-MaxUploadFileSize="4000000">

          <MediaManager ViewPaths="~/Files/media" UploadPaths="~/Files/media" DeletePaths="~/Files/media" />

          <ImageManager ViewPaths="~/Files/image" UploadPaths="~/Files/image" DeletePaths="~/Files/image" />

          <FlashManager ViewPaths="~/Files/video" UploadPaths="~/Files/video" DeletePaths="~/Files/video" />

          <DocumentManager ViewPaths="~/Files/document" UploadPaths="~/Files/document" DeletePaths="~/Files/document" />

          <Tools>

                <telerik:EditorToolGroup Tag="FileManagers">

                    <telerik:EditorTool Name="ImageManager"/>

                    <telerik:EditorTool Name="FlashManager" />

                    <telerik:EditorTool Name="MediaManager" />

                    <telerik:EditorTool Name="DocumentManager" />

                    <telerik:EditorTool Name="AjaxSpellCheck" />

                    <telerik:EditorTool Name="InsertTime" />

                    <telerik:EditorTool Name="Print" />

                    <telerik:EditorTool Name="Redo" />

                    <telerik:EditorTool Name="Undo" />

                    <telerik:EditorTool Name="LinkManager" />

                    <telerik:EditorTool Name="Unlink" />

                    <telerik:EditorTool Name="TableWizard" />

                </telerik:EditorToolGroup>

                <telerik:EditorToolGroup>

                    <telerik:EditorTool Name="Bold" />

                    <telerik:EditorTool Name="Italic" />

                    <telerik:EditorTool Name="Underline" />

                    <telerik:EditorSeparator />

                    <telerik:EditorTool Name="ForeColor" />

                    <telerik:EditorTool Name="BackColor" />

                    <telerik:EditorSeparator />

                    <telerik:EditorTool Name="FontName" />

                    <telerik:EditorTool Name="RealFontSize" />

                </telerik:EditorToolGroup>

            </Tools>

 

         

          </telerik:RadEditor>

 

(No code in codebehind)

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Dec 2009, 02:27 PM
Hi Adisa,

You are the first one to report this problem and we were unable to reproduce it. Are you able to replicate it with the Save In External File or Save in Database examples of RadEditor?

If you succeed and reproduce the problem in the demos then please provide step-by-step instructions on how to reproduce it on our side.

If the problem is reproducible only in your project, please isolate the issue in a sample working project and send it via a support ticket for examination along with detailed instructions.

Best regards,
Rumen
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
Jason
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or