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

Rad Editor Rendering Problem

5 Answers 69 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dhamodharan
Top achievements
Rank 1
Dhamodharan asked on 18 Feb 2013, 03:58 AM
Hi,
I am Using the rad editor in multipage . I have fixed RenderSelectedPageOnly="true" . Rad editor is load as the image i have attached. I need a quick reply.






Thanks

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Feb 2013, 07:02 AM
Hi,

Try the solution in the following sticky note: Incorrect rendering of RadEditor when shown with AJAX in initially hidden parent.

Best regards,
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.
0
Dhamodharan
Top achievements
Rank 1
answered on 27 Feb 2013, 02:21 PM
Hi Rumen,
your soltion not works when ajax is fixed for radeditor. I have just added a new editor and set ajax for it. it shows as attachment. i have used ur solution it does not work, please provide some working solution as css class. 
 
 
0
Rumen
Telerik team
answered on 27 Feb 2013, 05:35 PM
Hello,

Can you please provide a running project or at least the markup which you use to ajaxify RadEditor so that I can reproduce the problem and help you?

Kind regards,
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.
0
Dhamodharan
Top achievements
Rank 1
answered on 27 Feb 2013, 06:06 PM
Hi,
        I have just declared a radeditor on ascx page and called it on a button click event. it appears as image on last post. when i removed ajax its clearly. i need a solution for it.

<telerik:RadEditor runat="server" ID="RadEditor2">
</telerik:RadEditor>
0
Rumen
Telerik team
answered on 27 Feb 2013, 09:20 PM
Hi,

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
Dhamodharan
Top achievements
Rank 1
Share this question
or