The source code of the above example is as following:
<%@ Page Language="C#" %>
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<script runat="server">
void Page_Load(object sender, System.EventArgs e)
{
if (IsPostBack)
{
textbox1.Text = Editor1.XHTML;
Editor1.Visible = false;
btnUpdate.Visible = false;
Literal2.Text = Editor1.XHTML;
}
else
{
Editor1.Text = "";
}
}
public void Submit(object sender, System.EventArgs e)
{
textbox1.Text = Editor1.XHTML;
}
</script>
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body style="background-image:url('/images/mac.gif') ;">
<form runat="server">
<CE:Editor EditorWysiwygModeCss="backgroundimage.css" RemoveServerNamesFromUrl="false" id="Editor1" AutoConfigure="Full" runat="server" ></CE:Editor><BR>
<br />
<asp:Button id="btnUpdate" onclick="Submit" Runat="server" CssClass="button65" Text="Submit"></asp:Button>
<br />
<asp:Literal ID="Literal2" Runat="server" />
<asp:textbox id="textbox1" runat="server" TextMode="MultiLine" Height="250px" Width="730px" Font-Name="Arial"></asp:TextBox><br />
</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