Please try the following code:
- <%@ Page Language="C#"%>
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
-
- <script runat="server">
- void Page_Load(object sender, System.EventArgs e)
- {
- if (!IsPostBack)
- {
- Editor1.Text="Type here";
- }
- }
- public void Submit(object sender, System.EventArgs e)
- {
- Editor1.SaveRTF("document.rtf");
- textbox1.Text = Editor1.Text;
- }
- </script>
- <html>
- <head>
- <title>RTF to HTML, HTML to RTF</title>
- </head>
- <body>
- <form id="Form1" runat="server">
- <CE:Editor id="Editor1" URLType="Absolute" AutoConfigure="Simple" runat="server" ></CE:Editor>
- <br />
- <br />
- <asp:Button id="btnUpdate" onclick="Submit" Runat="server" Text="Submit"></asp:Button>
- <br />
- <asp:textbox id="textbox1" runat="server" TextMode="MultiLine" Height="250px" Width="730px"></asp:TextBox>
- </form>
- </body>
- </html>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx