Dear Marko,
Please try the following code:
<%@ Page Language="C#"%>
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<html>
<head>
</head>
<body>
<form id="Form1" runat="server">
<CE:Editor id="Editor1" AutoConfigure="Simple" Height="200" ResizeMode="AutoAdjust" ThemeType="Office2007" runat="server"/> <br />
<asp:Literal ID="Literal1" Runat="server" />
</form>
</body>
</html>
<script runat="server">
void Page_Load(object sender, System.EventArgs e)
{
if (IsPostBack)
{
Literal1.Text = "<h2>The HTML you typed is...</h2><br>";
Literal1.Text += Server.HtmlEncode(Editor1.XHTML);
}
else
{
Editor1.Height=355;
Editor1.ResizeMode = EditorResizeMode.PlusMinus;
Editor1.Text = "This is some more test text.<br>This is some more test text.<br>This is some more test text.<br>
This is some more test text.<br>This is some more test text.<br>This is some more test text.<br>This is some more test text.<br>";
}
}
</script>
Thank you for your business