Can't get the edited text from the cute editor

Last post 12-28-2007, 11:07 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  12-28-2007, 12:17 AM 36055

    Can't get the edited text from the cute editor

    Hi
                I have put the string into the cute editor using '.Text' property.Now editing that string in the cute editor and read the editor,but the problem is that i am not getting the updated string. so plese suggest me something what sould i do for that.
     
     
     
    - Apurva
  •  12-28-2007, 11:07 AM 36062 in reply to 36055

    Re: Can't get the edited text from the cute editor

    Apurva,
     
    Please try the following code:

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <%@ Page language="c#"%>
    <html>
     <head>
     </head>
     <body>
      <form id="Form1" method="post" runat="server">
       <CE:EDITOR id="Editor1" Autoconfigure="Simple" runat="server"></CE:EDITOR>
      </form>
     </body>
    </html>

    <script runat="server">
     void Page_Load(object sender, System.EventArgs e)
      {
         if (IsPostBack) 
         { 
              Editor1.Text = "New Content: " + (System.DateTime.DateTime.Now).ToString();
         } 
         else 
         {  
             Editor1.Text = (System.DateTime.DateTime.Now).ToString();
         } 
     }
    </script>

     


    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

View as RSS news feed in XML