CuteEditor v5 .Net and ajax

  •  11-07-2005, 8:47 PM

    CuteEditor v5 .Net and ajax

    Thanks Adam for ealier comments - problem reolved.
     
    Does anybody know how to dynamically display and save content in CuteEditor .Net v5 using javascript?
     
    I tried the following code but does not work:

    Javascript  
    var x = Document.getElementById("Editor1");
    x.text = "Hello world";

    Aspx
    <%@ Register TagPrefix="ce" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <%@ Register TagPrefix="PHT" Namespace="PHT.Web.Common.Controls" Assembly="PHT.Web" %>
    <%@ Register TagPrefix="PHT" TagName="PageHeader" Src="./Common/Controls/PageHeader.ascx" %>
    <%@ Page language="c#" Codebehind="Visit.aspx.cs" AutoEventWireup="false" Inherits="PHT.Web.Visit" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    .....

        <div id="NotesSection">
           <CE:Editor id="Editor1" style="Z-INDEX: 101; LEFT: 1px; POSITION: absolute; TOP: 0px" runat="server"
            ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/mytools.config" AutoConfigure="None"
            Width="550px" Height="250px" ThemeType="Office2003" ShowHtmlMode="False" ShowCodeViewToolBar="False">
            <FrameStyle Height="100%" BorderWidth="1px" BorderStyle="Solid" BorderColor="#DDDDDD" Width="100%"
             CssClass="CuteEditorFrame" BackColor="White"></FrameStyle>
           </CE:Editor>
        </div>
    .......

    </HTML>




    Kind regards

    Bruce
     
     
View Complete Thread