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

Rendering problem of Radeditor

1 Answer 48 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dhamodharan
Top achievements
Rank 1
Dhamodharan asked on 27 Feb 2013, 05:36 PM
Hi,
         Rendering problem of radeditor due to Ajax. I have tried all your given solutions. it doesnot works. i need some solutions as css class for the editor, to work in all the browers withot any rendering.






Thanks

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Feb 2013, 09:21 PM
Hello,

I answered your other forum post on the subject. Here is my answer for your reference:

You did not provide the requested code sample and I performed a quick test with the following code:
Default.aspx:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:Button Text="Load Editor Control" OnClick="LoadEditorControl_Click" runat="server" />
        <asp:PlaceHolder ID="EditorPlaceholder1" runat="server"></asp:PlaceHolder>
    </ContentTemplate>
</asp:UpdatePanel>

Default.aspx.cs
protected void LoadEditorControl_Click(object sender, EventArgs e)
{
    Control control1 = Page.LoadControl("~/EditorControl.ascx");
    EditorPlaceholder1.Controls.Add(control1);
}

and EditorControl.ascx
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditorControl.ascx.cs" Inherits="EditorControl" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadEditor runat="server" ID="RadEditor2">
</telerik:RadEditor>

Using the above configuration I was unable to reproduce the problem as shown in the following video:
http://screencast.com/t/4Fc53ubz.
What you can try is to put a hidden editor on the aspx page, which will load the skin files and fix the problem at your end, e.g.

<div style="display:none;">
  <telerik:RadEditor runat="server" ID="HiddenRadEditor"></telerik:RadEditor>
</div>

All the best,
Rumen
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
Dhamodharan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or