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

RadEditor in ModalPopupExtender populated in UpdatePanel not working

1 Answer 57 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jordan
Top achievements
Rank 1
Jordan asked on 05 Jun 2014, 09:02 PM
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

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 09 Jun 2014, 07:03 PM

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.

 
Tags
Editor
Asked by
Jordan
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or