Rad Editor Rendering Problem

6 posts, 0 answers
  1. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 17 Feb 2013 Link to this post

    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

  2. Rumen
    Admin
    Rumen avatar
    14011 posts

    Posted 18 Feb 2013 Link to this post

    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.
  3. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 27 Feb 2013 Link to this post

    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. 
     
     
  4. Rumen
    Admin
    Rumen avatar
    14011 posts

    Posted 27 Feb 2013 Link to this post

    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.
  5. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 27 Feb 2013 Link to this post

    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>
  6. Rumen
    Admin
    Rumen avatar
    14011 posts

    Posted 27 Feb 2013 Link to this post

    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.
Back to Top