Hi BruceWMorgan,
I can not reproduce this issue.
Please tye the example below
- <%@ Page Language="C#" %>
-
- <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <script runat="server">
- protected override void OnLoad(EventArgs e)
- {
- editor1.Text = "this is a test";
- base.OnLoad(e);
- }
-
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>test</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div style="visibility: hidden">
- <CE:Editor ID="editor1" runat="server">
- </CE:Editor>
- </div>
- <input type="button" value="ShowEditorText" onclick="show()" />
- </form>
- </body>
- </html>
-
- <script type="text/javascript">
- function show()
- {
- var editor1=document.getElementById('<%= editor1.ClientID %>');
- alert(editor1.getHTML());
-
- }
- </script>
Regards,
Ken