Re: How can i detect changed text in CE on the clientside?

  •  11-13-2008, 11:45 AM

    Re: How can i detect changed text in CE on the clientside?

    The site's still running just on my maching from VS2008 at the minute:
     
     
    I've created a basic page to test it in it's simplest form and the same happens:
     
     
     <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CuteTest.aspx.cs" Inherits="CuteTest" %>

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <body>
      <form id="form1" runat="server">
      <CE:Editor ID="Editor1" runat="server" EditorWysiwygModeCss="Editor.css" Width="776"
        Height="500" AutoConfigure="Simple">
      </CE:Editor>

      <script language="javascript" type="text/javascript">
        function helloworld() {
          alert("hello world");
        }
        var editor1 = document.getElementById('<%=Editor1.ClientID%>');
        var content = editor1.getHTML();
        alert(content);
      </script>

      </form>
    </body>
    </html>

    I've got to head home now. I'll check back in the morning. If needs be I'll create a sample app, zip it and email it to you.
     
    thanks for your quick replies.
     
    Craig
View Complete Thread