Hi danpc,
Did you set id for the editor control? Can you try the example page below? Does it work for you?
- <%@ Page Language="C#" AutoEventWireup="true" %>
-
- <%@ Register TagPrefix="RTE" Namespace="RTE" Assembly="RichTextEditor" %>
-
- <!DOCTYPE html>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title></title>
- <script runat="server">
- protected override void OnLoad(EventArgs e)
- {
- RTE.Editor myeditor = new Editor();
- myeditor.ID = "editor1";
- panel1.Controls.Add(myeditor);
- base.OnLoad(e);
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <asp:Panel ID="panel1" runat="server"></asp:Panel>
- </form>
- </body>
- </html>
Regards,
Ken