Hi jackdhp,
You can catch the "PostBackCommand" event of the editor, like
- <%@ Page Language="VB" %>
-
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <script runat="server">
-
- Protected Sub editor1_PostBackCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs)
- label1.Text = editor1.Text
- End Sub
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>example</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <CE:Editor ID="editor1" runat="server" OnPostBackCommand="editor1_PostBackCommand">
- </CE:Editor>
- <br />
- <asp:Label ID="label1" runat="server"></asp:Label>
- </div>
- </form>
- </body>
- </html>
Regards,
Ken