Hi adityaraj,
Please try the example below
- <%@ Page Language="C#" ValidateRequest="false" %>
-
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
-
- <script runat="server">
-
- protected void button1_Click(object sender, EventArgs e)
- {
- label1.Text ="you type:"+ editor1.Text;
- }
- </script>
-
- <html>
- <head>
- </head>
- <body>
- <form id="Form1" runat="server">
- <CE:Editor ID="editor1" runat="server" Height="500">
- </CE:Editor>
- <asp:Label ID="label1" runat="server"></asp:Label>
- <asp:Button ID="button1" runat="server" Text="get editor text" OnClick="button1_Click" />
-
- </form>
- </body>
- </html>
Regards,
Ken