RadEditor in ModalPopupExtender populated in UpdatePanel not working

2 posts, 0 answers
  1. Jordan
    Jordan avatar
    1 posts
    Member since:
    Jun 2014

    Posted 05 Jun 2014 Link to this post

    I'm dynamically populating an UpdatePanel within a ModalPopupExtender'd panel with a RadEditor.

    RadEditor tbQuestion = new RadEditor();
    tbQuestion.ID = "tbQuestion";
    tbQuestion.Skin = "Default";
    cell.Controls.Add(tbQuestion);

    When the control loads, all the images appear, but none of them are clickable except the three at the bottom which control which view the editor is displaying (Design, HTML, Preview).  The rest of the images have alt text.

    There is no textbox displayed at all unless RenderAsTextArea == true, but then it doesn't display any formatting.  If I manually show the textareas generated whose style display is set to "none" via Chrome's Developer Tools, they show up but again, don't have any formatting.

    Per the pinned thread from 2011, I've added

    <Telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadEditor), "Telerik.Web.UI.Skins.Editor.css") %>'
            rel="stylesheet" type="text/css" />
        <link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadEditor), "Telerik.Web.UI.Skins.Default.Editor.Default.css") %>'
            rel="stylesheet" type="text/css" />
        <link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadWindow), "Telerik.Web.UI.Skins.Window.css") %>'
            rel="stylesheet" type="text/css" />
        <link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadWindow), "Telerik.Web.UI.Skins.Default.Window.Default.css") %>'
            rel="stylesheet" type="text/css" />
    </Telerik:RadCodeBlock>

    to my Default.aspx page, but nothing has changed.

    Thanks for your help!
    -Jordan
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 09 Jun 2014 Link to this post

    HelloJordan,

    The described behavior could be more related to the dynamically showing of the RadEditor control. Rather that CSS stylization.

    It would be helpful if you could provide a simple markup with which the same issue could be reproduced locally and properly investigated.

    Nevertheless, before trying to isolate the problem within a simple scenario I suggest following these two materials and verify if the provided resolutions can help you workaround the problem:

    1. Appearance Issues with Initially Hidden Editor;
    2. RadEditor Does Not Work in RadWindow;

    Regards,

    Ianko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top