Hi mike.chambers,
It si not the best way. But for now you can try this
- <%@ Page Language="C#" ValidateRequest="false" %>
-
- <%@ Register Assembly="CuteEditor" Namespace="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 override void OnLoad(EventArgs e)
- {
- if (!IsPostBack)
- {
- editor1.Text = "Δουλεύουν";
- }
- base.OnLoad(e);
- }
- protected void getXHTML_Click(object sender, EventArgs e)
- {
- string str = editor1.XHTML.Replace("ύ", "ύ");
- textBox1.Text = str;
- }
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>Untitled Page</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <CE:Editor ID="editor1" runat="server">
- </CE:Editor>
- <asp:Button ID="getXHTML" runat="server" Text="Get XHTML" OnClick="getXHTML_Click" />
- <asp:TextBox ID="textBox1" runat="server" Width="800px"></asp:TextBox>
- </form>
- </body>
- </html>
Regards,
ken