Hi vanavah,
Please try the example below
- <%@ 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 = "save clicked!"
- End Sub
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>Untitled Page</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <CE:Editor ID="editor1" runat="server" OnPostBackCommand="editor1_PostBackCommand">
- </CE:Editor>
- <asp:Label ID="label1" runat="server"></asp:Label>
- </div>
- </form>
- </body>
- </html>
You also can refer to online example at
http://www.cutesoft.net/example/howto/CatchSave/cs/capture_save_button_click.aspx. You can find the source code of it in the editor download package "how to" folder.
Regards,
Ken