Re: How do you get the editor in an existing textarea

  •  03-23-2005, 2:16 AM

    Re: How do you get the editor in an existing textarea

    Please follow these steps: 
     
    1.deploying the CuteEditor.dll assembly and license file

    Copy the CuteEditor.dll and the CuteEditor.lic to the \bin directory for the web application that uses the CuteEditor. 

    If you need the spell checker function, you need to copy the NetSpell.SpellChecker.dll and the dictionaries files to the \bin directory as well.

    Then modify your web.config file and specify the NetSpell dictionary folder:

    <appSettings>
        <add key="DictionaryFolder" value="bin"/>
    </appSettings>



    2. Deploying the CuteEditor Client files

    The "CuteSoft_Client/CuteEditor" folder and all file it contains (you can find in the download package) should be deployed to http://{your site}/{your application}/CuteSoft_Client/CuteEditor/ on your web site.

    If you want to deploy the CuteEditor Client file to a different location, you will have to make sure that you set your editor FilesPath property correctly. The control expects to find the all the files and images in the files directory specified by the control FilesPath property.
     
    3. Open your existing ASPX page. 

    Add the CuteEditor Register directive at the top:

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    4. Add the CuteEditor tags in the body of the WebForm:

       Replace the textbox:

       <asp:TextBox id="DesktopText" columns="75" width="650" rows="12" textmode="multiline" runat="server" />

       With CuteEditor:                                            

      <CE:Editor id="DesktopText " runat="server"></CE:Editor>

     



    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 Complete Thread