Please try the following example:
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
- <%@ Page language="c#"%>
- <html>
- <head>
- <script runat="server">
- string OriginalValue="123456";
- void Page_Load(object sender, System.EventArgs e)
- {
- if (IsPostBack)
- {
- if (Editor1.Text == OriginalValue)
- {
- label1.Text = "No change!";
- }
- else
- {
- label1.Text = "Changed";
- }
- }
- else
- {
- Editor1.Text = OriginalValue;
- }
-
- }
- </script>
-
-
- </head>
- <body>
- <form id="Form1" method="post" runat="server">
- <CE:EDITOR id="Editor1" runat="server"></CE:EDITOR><br/>
- <asp:label Runat="server" id="label1"></asp:label><br/>
- SSS<%=OriginalValue%>SSS<br/>
- SSS<%=Editor1.Text%>SSS
- </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