Hi gurpreet,
Do you get the same problem in the example below? If it only happens on your end, please create an example which can reproduce this issue and post here. I will check it and get back to you as soon as possible.
- <%@ Page Language="C#" %>
-
- <%@ Register Namespace="CuteEditor" Assembly="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 void button1_Click(object sender, EventArgs e)
- {
- CuteEditor.Convertor.RTF.HTML2RTF content = new CuteEditor.Convertor.RTF.HTML2RTF(editor1.Text);
- textBox1.Text = content.RTF.ToString();
- }
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>example</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <CE:Editor ID="editor1" runat="server">
- </CE:Editor>
- <asp:Button ID="button1" runat="server" Text="cover to pdf " OnClick="button1_Click" /><br />
- <asp:TextBox ID="textBox1" runat="server" Width="1000px" TextMode="multiLine" Rows="10"></asp:TextBox>
- </form>
- </body>
- </html>
Regards,
Ken